[__start_on_boot] add code for alpine handling, fix explorer

This commit is contained in:
Nico Schottelius 2019-04-15 16:35:10 +02:00
parent e32d92c109
commit 707426d1f0
1 changed files with 6 additions and 0 deletions

View File

@ -40,6 +40,9 @@ case "$state_should" in
echo "systemctl -q enable '$name'"
else
case "$os" in
alpine)
echo "rc-update -q add '${name}'"
;;
debian)
case "$os_version" in
[1-7]*)
@ -102,6 +105,9 @@ case "$state_should" in
else
case "$os" in
alpine)
echo "rc-update -q del '${name}'"
;;
debian|ubuntu|devuan)
echo "update-rc.d -f '$name' remove"
;;