summaryrefslogtreecommitdiff
path: root/package/tntnet/ipkg/tntnet.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'package/tntnet/ipkg/tntnet.postinst')
-rw-r--r--package/tntnet/ipkg/tntnet.postinst6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/tntnet/ipkg/tntnet.postinst b/package/tntnet/ipkg/tntnet.postinst
new file mode 100644
index 000000000..9d462f8d3
--- /dev/null
+++ b/package/tntnet/ipkg/tntnet.postinst
@@ -0,0 +1,6 @@
+#!/bin/sh
+. $IPKG_INSTROOT/etc/functions.sh
+add_rcconf tntnet
+gid=$(get_next_gid)
+add_group tntnet $gid
+add_user tntnet $(get_next_uid) $gid /www