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'"
|
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"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue