ba5976d748
git-svn-id: svn://svn.compuextreme.de/Viitor/V961/Viitor_cron@4243 504e572c-2e33-0410-9681-be2bf7408885
51 lines
1010 B
Bash
51 lines
1010 B
Bash
#!/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 ü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ü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ß 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
|