diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-08-04 17:15:51 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-08-04 17:15:51 +0200 |
commit | dd48d0019b7f5442cef387b5754a276b33f8e52f (patch) | |
tree | 92979409261f0a55b819980065878402bb4cb448 | |
parent | 9d8ce74086152a6431f92e95533a31a0cd6b2d23 (diff) |
add a video group for lemote webcam support
-rw-r--r-- | package/mplayer/files/mplayer.postinst | 4 | ||||
-rw-r--r-- | target/lemote/files/etc/mdev.conf | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/package/mplayer/files/mplayer.postinst b/package/mplayer/files/mplayer.postinst new file mode 100644 index 000000000..386bf95c2 --- /dev/null +++ b/package/mplayer/files/mplayer.postinst @@ -0,0 +1,4 @@ +#!/bin/sh +. $IPKG_INSTROOT/etc/functions.sh +gid=$(get_next_gid) +add_group video $gid diff --git a/target/lemote/files/etc/mdev.conf b/target/lemote/files/etc/mdev.conf index bc0877b4f..25d02acd5 100644 --- a/target/lemote/files/etc/mdev.conf +++ b/target/lemote/files/etc/mdev.conf @@ -13,4 +13,5 @@ timer root:audio 660 >snd/timer controlC0 root:audio 660 >snd/controlC0 pcmC0D0c root:audio 660 >snd/pcmC0D0c pcmC0D0p root:audio 660 >snd/pcmC0D0p +video0 root:video 660 .* 0:0 644 @/lib/mdev/init |