summaryrefslogtreecommitdiff
path: root/package/firefox/files/firefox.postinst
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-02-17 23:19:48 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2015-02-17 23:19:55 -0600
commit3798b63c5f2b0baea3b24be48ede03bfbef7d81b (patch)
treedd137f0638f6ccbf53af170253a6c0aafd6d014b /package/firefox/files/firefox.postinst
parent268ddf223cd7303ddfd8b8ef07c2ce7406e3bc39 (diff)
add first preview of a firefox appliance. java plugin and kiosk addon missing.
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