Implement "__start_on_boot --state absent" for OpenBSD

This commit is contained in:
Daniel Néri 2019-03-16 17:23:19 +01:00
parent 689f37acf6
commit 15ab7c0810

View file

@ -82,7 +82,7 @@ case "$state_should" in
;; ;;
openbsd) openbsd)
# OpenBSD 5.7 and phigher # OpenBSD 5.7 and higher
echo "rcctl enable '$name'" echo "rcctl enable '$name'"
;; ;;
@ -116,6 +116,11 @@ case "$state_should" in
openwrt) openwrt)
echo "'/etc/init.d/$name' disable" echo "'/etc/init.d/$name' disable"
;;
openbsd)
# OpenBSD 5.7 and higher
echo "rcctl disable '$name'"
;; ;;
*) *)