Diffstat (limited to 'share/opie-login/post-session') (more/less context) (ignore whitespace changes)
-rw-r--r-- | share/opie-login/post-session | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/share/opie-login/post-session b/share/opie-login/post-session new file mode 100644 index 0000000..cc0030e --- a/dev/null +++ b/share/opie-login/post-session @@ -0,0 +1,11 @@ +#!/bin/sh + +if [ -e /proc/hal/model ]; then + [ -e /dev/sound/dsp ] && chown root /dev/sound/dsp + [ -e /dev/sound/mixer ] && chown root /dev/sound/mixer + [ -e /dev/touchscreen/0 ] && chown root /dev/touchscreen/0 + [ -e /dev/fb/0 ] && chown root /dev/fb/0 + [ -e /dev/vc/0 ] && chown root /dev/vc/0 +fi + + |