Viitor_netkit-bootparamd/etc/init.d/bootparamd
kueller 163493d81d Neue Version V963
git-svn-id: svn://svn.compuextreme.de/Viitor/V963/Viitor_netkit-bootparamd@5933 504e572c-2e33-0410-9681-be2bf7408885
2011-01-03 10:48:06 +00:00

49 lines
1011 B
Bash

#!/bin/sh
#bootparamd des systemvinit prozesses
#Script Framework - Automatisiertes Erzeugen der Monsum Linux Distribution
#(c) Rainmaker MultiMedia OHG
#
#$Author$
#$Date$
#$Revision$
#
#$Log$
#Revision 1.1 2001/11/17 18:29:26 kueller
#Initial revision
#
#Revision 1.1.1.1 2001/09/23 00:02:08 kueller
#Neustart wg. Datenverlust
#
#Revision 1.1.1.1 2001/08/08 10:02:32 kueller
#sysvinit addons
#
#
source /etc/init.d/functions
case "$1" in
start)
if [ -f /etc/bootparams ]; then
echo -n "Starting rpc.bootparamd"
loadproc /usr/sbin/rpc.bootparamd
fi
;;
stop)
if [ -f /etc/bootparams ]; then
echo -n "Stopping rpc.bootparamd"
killproc rpc.bootparamd
fi
;;
restart)
$0 stop
/usr/bin/sleep 1
$0 start
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
;;
esac