]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
ntp: Fix initscript.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 15 Aug 2009 12:40:55 +0000 (14:40 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 15 Aug 2009 12:40:55 +0000 (14:40 +0200)
lfs/ntp
src/initscripts/extras/ntp.conf [moved from src/initscripts/extras/ntpd.conf with 69% similarity]

diff --git a/lfs/ntp b/lfs/ntp
index f938f6fd5d1895aec9cb8170e884970454680be1..f0b5236f832be01136d5ccda72a7ef19b1fea34d 100644 (file)
--- a/lfs/ntp
+++ b/lfs/ntp
@@ -94,5 +94,8 @@ $(OBJECT): $(objects)
        echo "restrict 127.0.0.1" >> /etc.ntp.conf
        echo "server de.pool.ntp.org" >> /etc/ntp.conf
        echo "driftfile /etc/ntp/drift" >> /etc/ntp.conf
+
+       $(INSTALL_INITSCRIPT)
+
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)
similarity index 69%
rename from src/initscripts/extras/ntpd.conf
rename to src/initscripts/extras/ntp.conf
index 183f221800ab8cbcd1ed6917327489db6ab86c2d..121a89ee757eaaaa3442f2bfeb5ef71f4654e63e 100644 (file)
@@ -1,8 +1,8 @@
 description            "Start system time daemon"
 author                 "IPFire Team"
 
-start on stopped mountfs
-stop on shutdown
+start on started network
+stop on stopping network
 
 exec /usr/sbin/ntpd -4 -c /etc/ntp.conf
 respawn