From 40d5b9cb05f93a8fc770fd595aadc8d9cd0ce40c Mon Sep 17 00:00:00 2001
From: Daniel Roth <droth@hsz-t.ch>
Date: Mon, 3 Oct 2011 21:39:07 +0200
Subject: [PATCH] bsd init location

---
 conf/type/__init_script/gencode-remote | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conf/type/__init_script/gencode-remote b/conf/type/__init_script/gencode-remote
index ff823cad..d212feb7 100644
--- a/conf/type/__init_script/gencode-remote
+++ b/conf/type/__init_script/gencode-remote
@@ -30,7 +30,7 @@ if [ -f "$__object/parameter/base_dir" ]; then
 else
   os="$(cat "$__global/explorer/os")"
   case "$os" in
-    archlinux) base_dir="/etc/rc.d" ;;
+    archlinux|netbsd|macosx|freebsd|openbsd) base_dir="/etc/rc.d" ;;
     *) base_dir="/etc/init.d"
   esac
 fi