forked from ungleich-public/cdist
[__start_on_boot] add code for alpine handling, fix explorer
This commit is contained in:
parent
e32d92c109
commit
707426d1f0
1 changed files with 6 additions and 0 deletions
|
@ -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"
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue