remove old/usused init.d files in postinst
This commit is contained in:
parent
48de2a82c3
commit
fdf6f3756c
4
debian/postinst
vendored
4
debian/postinst
vendored
@ -49,6 +49,10 @@ case "$1" in
|
||||
rm /etc/cron.daily/pve
|
||||
fi
|
||||
|
||||
# remove old/usused init.d files
|
||||
rm -f /etc/init.d/pvebanner
|
||||
rm -f /etc/init.d/pvenetcommit
|
||||
|
||||
# create new daily randomize update cronjob if not exist
|
||||
MIN="$(shuf -i 0-59 -n 1)"
|
||||
HOUR="$(shuf -i 2-5 -n 1)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user