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

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