mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
ntp: Move configuration into an own file
We should not write files like that in the LFS scripts. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
6
lfs/ntp
6
lfs/ntp
@@ -83,11 +83,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
|
||||
-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/
|
||||
|
||||
Reference in New Issue
Block a user