]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/ntp
smartmontools: update to 7.2
[people/pmueller/ipfire-2.x.git] / lfs / ntp
diff --git a/lfs/ntp b/lfs/ntp
index 3c4a97033cab3f98d01a27a46c02f58fd986158a..ca46e51632e21f25c75a3cf2d5d0228e060d1212 100644 (file)
--- a/lfs/ntp
+++ b/lfs/ntp
@@ -70,6 +70,7 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+       $(UPDATE_AUTOMAKE)
        cd $(DIR_APP) && \
                ./configure \
                        --prefix=/usr \
@@ -82,12 +83,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cd $(DIR_APP) && make install
 
        -mkdir /etc/ntp
-       chown -R ntp:ntp /etc/ntp
-       echo "disable monitor" > /etc/ntp.conf
-       echo "restrict default nomodify noquery" >>  /etc/ntp.conf
-       echo "server  127.127.1.0 prefer"       >> /etc/ntp.conf
-       echo "fudge   127.127.1.0 stratum 10"   >> /etc/ntp.conf
-       echo "driftfile /etc/ntp/drift"         >> /etc/ntp.conf
+       install -v -m 644 $(DIR_SRC)/config/ntp/ntp.conf /etc/ntp.conf
 
        #Enable it by default...
        cp -vf $(DIR_SRC)/config/time/* /var/ipfire/time/