aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/coova-chilli/chilli.confd1
-rw-r--r--main/coova-chilli/chilli.post-install2
-rw-r--r--main/coova-chilli/chilli.pre-install4
3 files changed, 7 insertions, 0 deletions
diff --git a/main/coova-chilli/chilli.confd b/main/coova-chilli/chilli.confd
new file mode 100644
index 0000000000..b9c44e34bd
--- /dev/null
+++ b/main/coova-chilli/chilli.confd
@@ -0,0 +1 @@
+CHILLI_OPTS="--uid chilli --gid chilli"
diff --git a/main/coova-chilli/chilli.post-install b/main/coova-chilli/chilli.post-install
new file mode 100644
index 0000000000..10dfc9576a
--- /dev/null
+++ b/main/coova-chilli/chilli.post-install
@@ -0,0 +1,2 @@
+#!/bin/sh
+chown -R chilli:chilli /var/run/chilli
diff --git a/main/coova-chilli/chilli.pre-install b/main/coova-chilli/chilli.pre-install
new file mode 100644
index 0000000000..37be034eeb
--- /dev/null
+++ b/main/coova-chilli/chilli.pre-install
@@ -0,0 +1,4 @@
+#!/bin/sh
+adduser -H -s /bin/false -D chilli 2>/dev/null
+exit 0
+