Files
bpfire/src/initscripts/init.d/ntp
ms 6f30095176 IMQ Device in den Kernel kompiliert.
QoS Fit fuer die neue Version gemacht.
NTPd Startscript angepasst. (Das andere dauerte einfach zu lange zum starten!)


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@405 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-02-04 18:03:00 +00:00

35 lines
436 B
Bash

#!/bin/sh
# Begin $rc_base/init.d/ntp
. /etc/sysconfig/rc
. $rc_functions
case "$1" in
start)
boot_mesg "Starting ntpd..."
loadproc /usr/bin/ntpd -Ap /var/run/ntpd.pid
;;
stop)
boot_mesg "Stopping ntpd..."
killproc /usr/bin/ntpd
;;
restart)
$0 stop
sleep 1
$0 start
;;
status)
statusproc /usr/bin/ntpd
;;
*)
echo "Usage: $0 {start|stop|restart|status}"
exit 1
;;
esac
# End $rc_base/init.d/ntp