mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 17:20:30 +08:00
fix
This commit is contained in:
parent
2666cf6d56
commit
3216f07434
@ -45,5 +45,5 @@ 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)
|
||||
|
||||
# Some update deletes /etc/motd, WTF
|
||||
[ ! -f /etc/motd -a -f /etc/motd.pacsave ] && mv /etc/motd.pacsave /etc/motd
|
||||
[ ! -f /etc/motd -a -f /etc/motd.pacsave ] && mv /etc/motd.pacsave /etc/motd || true
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user