diff options
author | Maxim Devaev <[email protected]> | 2021-10-04 19:57:27 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2021-10-04 19:57:27 +0300 |
commit | 97f1546439957085500fda0de2827bdb63e6a161 (patch) | |
tree | b26c34e2a093f82a4c1c4ab4aa7cdfbd54ad80ec /kvmd.install | |
parent | 2641ef74f82d74fc99f60171947b22cce847edab (diff) |
fixed ntp sed
Diffstat (limited to 'kvmd.install')
-rw-r--r-- | kvmd.install | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd.install b/kvmd.install index a34df7ff..f7d25e11 100644 --- a/kvmd.install +++ b/kvmd.install @@ -39,5 +39,5 @@ post_upgrade() { [ ! -f /boot/config.txt ] || sed -i -e 's/^dtoverlay=pi3-disable-bt$/dtoverlay=disable-bt/g' /boot/config.txt [ ! -f /boot/config.txt ] || sed -i -e 's/^dtoverlay=dwc2$/dtoverlay=dwc2,dr_mode=peripheral/g' /boot/config.txt [ ! -f /etc/conf.d/rngd ] || (echo 'RNGD_OPTS="-o /dev/random -r /dev/hwrng -x jitter -x pkcs11 -x rtlsdr"' > /etc/conf.d/rngd) - [ ! -f /etc/systemd/timesyncd.conf ] || sed -e 's/#NTP=$/NTP=0.arch.pool.ntp.org 1.arch.pool.ntp.org 2.arch.pool.ntp.org 3.arch.pool.ntp.org/g' /etc/systemd/timesyncd.conf + [ ! -f /etc/systemd/timesyncd.conf ] || sed -i -e 's/#NTP=$/NTP=0.arch.pool.ntp.org 1.arch.pool.ntp.org 2.arch.pool.ntp.org 3.arch.pool.ntp.org/g' /etc/systemd/timesyncd.conf } |