summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-10-11 06:20:14 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-10-11 06:20:14 +0200
commitb6b578b3321c3a593c69b7ba2d8ac605002a1b70 (patch)
tree560f082a4b44ef83c703d6fed98192682f2fd086 /package
parentb4b841093242ba2d2e5eabeaf287e325a093d158 (diff)
add groups audio / video as default
Diffstat (limited to 'package')
-rw-r--r--package/base-files/src/etc/group2
-rw-r--r--package/mplayer/files/mplayer.postinst4
-rw-r--r--package/xorg-server/files/xorg-server.postinst3
3 files changed, 2 insertions, 7 deletions
diff --git a/package/base-files/src/etc/group b/package/base-files/src/etc/group
index c4e77f316..bbf6c0603 100644
--- a/package/base-files/src/etc/group
+++ b/package/base-files/src/etc/group
@@ -1,2 +1,4 @@
root:x:0:
+video:x:1:
+audio:x:2:
nogroup:x:65534:
diff --git a/package/mplayer/files/mplayer.postinst b/package/mplayer/files/mplayer.postinst
deleted file mode 100644
index 386bf95c2..000000000
--- a/package/mplayer/files/mplayer.postinst
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-. $IPKG_INSTROOT/etc/functions.sh
-gid=$(get_next_gid)
-add_group video $gid
diff --git a/package/xorg-server/files/xorg-server.postinst b/package/xorg-server/files/xorg-server.postinst
index e26e54f3f..09f00dd35 100644
--- a/package/xorg-server/files/xorg-server.postinst
+++ b/package/xorg-server/files/xorg-server.postinst
@@ -1,5 +1,2 @@
#!/bin/sh
if [ -z $IPKG_INSTROOT ];then chmod u+s /usr/bin/Xorg;fi
-. $IPKG_INSTROOT/etc/functions.sh
-gid=$(get_next_gid)
-add_group video $gid