51 lines
1010 B
Plaintext
51 lines
1010 B
Plaintext
|
#!/bin/sh
|
|||
|
# Begin /etc/init.d/network
|
|||
|
# Script zum start des automount Daemons
|
|||
|
# Wenn die Datei /etc/sysconfig/auto.master vorhanden ist, wird
|
|||
|
# der automount Daemon gestartet
|
|||
|
# Die Timeout Konfiguration erfolg <20>ber die Datei /etc/sysconfig/autofstime
|
|||
|
#(c) Rainmaker MultiMedia OHG
|
|||
|
#
|
|||
|
#$Author$
|
|||
|
#$Date$
|
|||
|
#$Revision$
|
|||
|
#
|
|||
|
#$Log$
|
|||
|
#Revision 1.2 2003/04/19 08:16:47 kueller
|
|||
|
#Restart Option hinzugef<65>gt
|
|||
|
#
|
|||
|
#Revision 1.1.1.1 2001/09/22 23:34:03 kueller
|
|||
|
#neustart wg. datenverlust
|
|||
|
#
|
|||
|
#Revision 1.2 2001/08/24 18:31:15 kueller
|
|||
|
#
|
|||
|
#Da cron durch fcron ersetzt wurde, mu<6D> hier auch der Aufruf anders lauten!
|
|||
|
#
|
|||
|
#Revision 1.1.1.1 2001/08/08 10:16:26 kueller
|
|||
|
#cron AddOns
|
|||
|
#
|
|||
|
#
|
|||
|
|
|||
|
|
|||
|
source /etc/init.d/functions
|
|||
|
case "$1" in
|
|||
|
start)
|
|||
|
echo -n "starting crondaemon"
|
|||
|
loadproc /usr/sbin/fcron
|
|||
|
;;
|
|||
|
stop)
|
|||
|
echo -n "shutting down crondaemon"
|
|||
|
killproc fcron
|
|||
|
;;
|
|||
|
restart)
|
|||
|
$0 stop
|
|||
|
sleep 1
|
|||
|
$0 start
|
|||
|
;;
|
|||
|
*)
|
|||
|
echo "Usage: $0: {start|stop|restart}"
|
|||
|
exit 1
|
|||
|
;;
|
|||
|
esac
|
|||
|
#end /etc/inet.d/network
|