[__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

View file

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