aboutsummaryrefslogtreecommitdiff
path: root/scripts/conf
diff options
context:
space:
mode:
authorKlaatu <[email protected]>2015-05-17 15:33:21 +1200
committerKlaatu <[email protected]>2015-05-17 15:33:21 +1200
commitb0de699679e8f1e39af847ed172d1ba605b4370c (patch)
tree01dac00471d61f727394e508c613b29cff0ceae5 /scripts/conf
bulk upload of source
Diffstat (limited to 'scripts/conf')
-rwxr-xr-xscripts/conf18
1 files changed, 18 insertions, 0 deletions
diff --git a/scripts/conf b/scripts/conf
new file mode 100755
index 0000000..b443af9
--- /dev/null
+++ b/scripts/conf
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+if test "$1" = "" ; then
+ echo usage: $0 /dir/name
+ exit 100
+fi
+
+mkdir -m 755 $1 || exit 1
+cd $1 || exit 2
+
+mkfifo -m 600 in || exit 3
+mkfifo -m 600 out || exit 4
+
+ln -s /etc/ninit/sys sys || exit 5
+ln -s /etc/ninit/.sync .sync || exit 6
+ln -s /etc/ninit/.nsvc_help .nsvc_help || exit 7
+
+ls -laF .