summaryrefslogtreecommitdiff
path: root/package/tntnet/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/tntnet/files')
-rw-r--r--package/tntnet/files/tntnet.conffiles3
-rw-r--r--package/tntnet/files/tntnet.postinst6
2 files changed, 9 insertions, 0 deletions
diff --git a/package/tntnet/files/tntnet.conffiles b/package/tntnet/files/tntnet.conffiles
new file mode 100644
index 000000000..def08bf81
--- /dev/null
+++ b/package/tntnet/files/tntnet.conffiles
@@ -0,0 +1,3 @@
+/etc/tntnet/tntnet.conf
+/etc/tntnet/tntnet.properties
+/etc/tntnet/mime.conf
diff --git a/package/tntnet/files/tntnet.postinst b/package/tntnet/files/tntnet.postinst
new file mode 100644
index 000000000..9d462f8d3
--- /dev/null
+++ b/package/tntnet/files/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