diff options
author | Maxim Devaev <[email protected]> | 2022-11-18 09:25:38 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2022-11-18 09:25:38 +0300 |
commit | 41c53984e4ead12e53a4a1f36a4352a3eea57bae (patch) | |
tree | f37d5f12a8edb3d916f046584bc50f1c7038e7e4 /kvmd.install | |
parent | d816c84322fbe3c636aaecb7e6ee30e34449c64c (diff) |
fix
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 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 '/\<pam_systemd\.so\>/ s/^#*/#/' /etc/pam.d/system-login [ ! -f /etc/pam.d/system-auth ] || sed -i -e '/\<pam_systemd_home\.so\>/ 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 |