From 15ab7c0810ed3ca6e078dcb6c36e81d06e54dc83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20N=C3=A9ri?= Date: Sat, 16 Mar 2019 17:23:19 +0100 Subject: [PATCH] Implement "__start_on_boot --state absent" for OpenBSD --- cdist/conf/type/__start_on_boot/gencode-remote | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cdist/conf/type/__start_on_boot/gencode-remote b/cdist/conf/type/__start_on_boot/gencode-remote index b9346826..1a3b6ff6 100755 --- a/cdist/conf/type/__start_on_boot/gencode-remote +++ b/cdist/conf/type/__start_on_boot/gencode-remote @@ -82,7 +82,7 @@ case "$state_should" in ;; openbsd) - # OpenBSD 5.7 and phigher + # OpenBSD 5.7 and higher echo "rcctl enable '$name'" ;; @@ -116,6 +116,11 @@ case "$state_should" in openwrt) echo "'/etc/init.d/$name' disable" + ;; + + openbsd) + # OpenBSD 5.7 and higher + echo "rcctl disable '$name'" ;; *)