summaryrefslogtreecommitdiff
path: root/package/davfs2/ipkg/davfs2.postinst
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/davfs2/ipkg/davfs2.postinst
Initial import
Diffstat (limited to 'package/davfs2/ipkg/davfs2.postinst')
-rw-r--r--package/davfs2/ipkg/davfs2.postinst5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/davfs2/ipkg/davfs2.postinst b/package/davfs2/ipkg/davfs2.postinst
new file mode 100644
index 000000000..1d333c4a6
--- /dev/null
+++ b/package/davfs2/ipkg/davfs2.postinst
@@ -0,0 +1,5 @@
+#!/bin/sh
+. $IPKG_INSTROOT/etc/functions.sh
+gid=$(get_next_gid)
+add_group davfs2 $gid
+add_user davfs2 $(get_next_uid) $gid /nonexistent