summaryrefslogtreecommitdiff
path: root/share/opie-login/post-session
blob: cc0030e072666ac29fabe037ef58e57846f0e382 (plain)
1
2
3
4
5
6
7
8
9
10
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