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