remove old/usused init.d files in postinst

This commit is contained in:
Dietmar Maurer 2015-10-24 10:35:20 +02:00
parent 48de2a82c3
commit fdf6f3756c

4
debian/postinst vendored
View File

@ -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)"