From 41c53984e4ead12e53a4a1f36a4352a3eea57bae Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Fri, 18 Nov 2022 09:25:38 +0300 Subject: fix --- kvmd.install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kvmd.install') diff --git a/kvmd.install b/kvmd.install index 16c54959..9a1ca0aa 100644 --- a/kvmd.install +++ b/kvmd.install @@ -57,7 +57,7 @@ post_upgrade() { [ ! -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/pam.d/system-login ] || sed -i -e '/\/ s/^#*/#/' /etc/pam.d/system-login [ ! -f /etc/pam.d/system-auth ] || sed -i -e '/\/ s/^#*/#/' /etc/pam.d/system-auth - [ ! -e /etc/systemd/network/99-default.link ] || ln -s /dev/null /etc/systemd/network/99-default.link + [ -e /etc/systemd/network/99-default.link ] || ln -s /dev/null /etc/systemd/network/99-default.link # Some update deletes /etc/motd, WTF # shellcheck disable=SC2015,SC2166 -- cgit v1.2.3