[__start_on_boot] add code for alpine handling, fix explorer

remotes/katolaz/master
Nico Schottelius 6 years ago
parent e32d92c109
commit 707426d1f0
  1. 6
      cdist/conf/type/__start_on_boot/gencode-remote

@ -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…
Cancel
Save