Do not automatically enable the service

This commit is contained in:
Manuel Hüsers 2016-08-25 22:34:59 +02:00
parent 4195cd16cb
commit 32e9da8a00
3 changed files with 7 additions and 19 deletions

View file

@ -1,20 +1,8 @@
_update() {
systemctl daemon-reload
}
post_install() {
_update
systemctl enable rc-local.service
}
cat <<EOF
post_upgrade() {
_update
}
==> Please activate the rc-local service to execute /etc/rc.local on boot.
==> Run as root: systemctl enable rc-local.service
pre_remove() {
systemctl disable rc-local.service
EOF
}
post_remove() {
_update
}