Der taegliche Commit am Abend :D

git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@389 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
ms
2007-01-10 21:38:07 +00:00
parent 3b6d00672a
commit 91dc1bfc54
7 changed files with 154 additions and 47 deletions

View File

@@ -0,0 +1,38 @@
#!/bin/sh
# Begin $rc_base/init.d/ntp
#$LastChangedBy: bdubbs $
#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
. /etc/sysconfig/rc
. $rc_functions
case "$1" in
start)
boot_mesg "Starting ntpd..."
ntpd -gqx
loadproc /usr/bin/ntpd
;;
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

View File

@@ -83,7 +83,6 @@ sub doupdatesettings {
# erase in case it was created once with 'persistent' selected but rc.red stop never used : SF1171610
unlink ("${General::swroot}/red/iface");
}
}
# No output should be sent to the webclient