Compare commits
No commits in common. "v963" and "v961" have entirely different histories.
|
@ -1,19 +0,0 @@
|
|||
description "Samba Name Deamon"
|
||||
author "Harald Kueller <harald.kueller@compuextreme.de>"
|
||||
version 1.0
|
||||
emits none special
|
||||
|
||||
start on (runlevel [2345] and (started ifup))
|
||||
stop on runlevel [016]
|
||||
|
||||
console output
|
||||
|
||||
pre-start script
|
||||
if [ -f /etc/ntp.conf ]; then
|
||||
/usr/bin/ntpdate `grep server /etc/ntp.conf|head --lines=1|sed -e "s/server //g"`
|
||||
else
|
||||
exit 10
|
||||
fi
|
||||
end script
|
||||
|
||||
exec /usr/bin/ntpd -n -l /var/log/ntp.log
|
|
@ -32,7 +32,6 @@
|
|||
#
|
||||
#
|
||||
|
||||
if [ -d /var/install/sysvinit* ]; then
|
||||
WDIR=`pwd`
|
||||
cd etc/init.d
|
||||
chmod 755 ntp
|
||||
|
@ -48,4 +47,3 @@ if [ -d /var/install/sysvinit* ]; then
|
|||
cd ..
|
||||
done
|
||||
cd $WDIR
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user