Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37892671
en ru br
ALT Linux repos
S:0.5.6-alt1
5.0: 0.5.6-alt0.M50.1
4.1: 0.5.6-alt0.M41.1
4.0: 0.5.6-alt0.M40.1

Group :: System/Kernel and hardware
RPM: sklad-chkcfg

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

#!/bin/sh
#
# ChkCfg Collects and records data in a format compatible with CheckCfg
#
# chkconfig: - 90 10
# description: multi-line \
# description \
# of the service.
# processname: none
# config: /etc/sysconfig/sklad-chkcfg
# pidfile: none

# Do not load RH compatibility interface.
WITHOUT_RC_COMPAT=1

# Source function library.
. /etc/init.d/functions

RETVAL=0

start()
{
echo "Gathering data about hardware..."
/usr/sbin/sklad-chkcfg
RETVAL=$?
return $RETVAL
}

stop()
{
return 0
}

# See how we were called.
case "$1" in
start)
start
;;
stop)
stop
;;
*)
msg_usage "${0##*/} start"
RETVAL=1
esac

exit $RETVAL
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin