Репозитории ALT
S: | 0.5.6-alt1 |
5.1: | 0.5.6-alt1 |
4.1: | 0.5.6-alt0.M41.1 |
4.0: | 0.5.6-alt0.M40.1 |
Группа :: Система/Ядро и оборудование
Пакет: sklad-chkcfg
Главная Изменения Спек Патчи Исходники Загрузить 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