49 lines
1011 B
Plaintext
49 lines
1011 B
Plaintext
|
#!/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
|