Skip to content

Commit

Permalink
Fixed wrong ntp.conf path
Browse files Browse the repository at this point in the history
  • Loading branch information
JavanXD committed May 27, 2024
1 parent d2d3c6e commit 154870d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions stage-honeypi/01-install-honeypi/00-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ echo 'Configuring NTP'
run_in_chroot "
dpkg-reconfigure -f noninteractive ntp
mkdir -p /var/log/ntpsec/
mkdir -p /etc/ntpsec/
"

echo 'Configuring pip and setting global.break-system-packages'
Expand Down Expand Up @@ -150,7 +149,7 @@ install -m 755 files/wvdial.conf "${ROOTFS_DIR}/etc/wvdial.conf"
install -m 755 files/wvdial.conf.tmpl "${ROOTFS_DIR}/etc/wvdial.conf.tmpl"
install -m 644 files/wvdial "${ROOTFS_DIR}/etc/ppp/peers/wvdial"
install -m 644 files/lighttpd.conf "${ROOTFS_DIR}/etc/lighttpd/lighttpd.conf"
install -m 644 files/ntp.conf "${ROOTFS_DIR}/etc/ntpsec/ntp.conf"
install -m 644 files/ntp.conf "${ROOTFS_DIR}/etc/ntp.conf"
install -m 644 files/motd "${ROOTFS_DIR}/etc/motd"

# Enable Lighttpd modules and Reload Lighttpd to apply changes
Expand Down
5 changes: 2 additions & 3 deletions stage-honeypi/01-install-honeypi/files/ntp.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@ server fritz.box
pool 0.pool.ntp.org iburst
pool 1.pool.ntp.org iburst
pool 2.pool.ntp.org iburst
pool 3.pool.ntp.org iburst

# Public NTP servers supporting Network Time Security:
server time.google.com nts
server time.cloudflare.com nts
server time.google.com
server time.cloudflare.com

# By default, exchange time with everybody, but don't allow configuration.
restrict default kod nomodify noquery limited
Expand Down

0 comments on commit 154870d

Please sign in to comment.