forked from ungleich-public/cdist
bsd init location
This commit is contained in:
parent
2147480fcd
commit
40d5b9cb05
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ if [ -f "$__object/parameter/base_dir" ]; then
|
||||||
else
|
else
|
||||||
os="$(cat "$__global/explorer/os")"
|
os="$(cat "$__global/explorer/os")"
|
||||||
case "$os" in
|
case "$os" in
|
||||||
archlinux) base_dir="/etc/rc.d" ;;
|
archlinux|netbsd|macosx|freebsd|openbsd) base_dir="/etc/rc.d" ;;
|
||||||
*) base_dir="/etc/init.d"
|
*) base_dir="/etc/init.d"
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue