From 97f1546439957085500fda0de2827bdb63e6a161 Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Mon, 4 Oct 2021 19:57:27 +0300 Subject: fixed ntp sed --- kvmd.install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- cgit v1.2.3