blob: 8219f947f36ce00492d4dcd22c2bb2c9bdcddb35 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh
USER=$1
if [ -e /proc/hal/model ]; then
# fix for misconfigured devfsd
chmod +x /dev/sound /dev/touchscreen /dev/fb /dev/vc
[ -e /dev/sound/dsp ] && chown $USER /dev/sound/dsp
[ -e /dev/sound/mixer ] && chown $USER /dev/sound/mixer
[ -e /dev/touchscreen/0 ] && chown $USER /dev/touchscreen/0
[ -e /dev/fb/0 ] && chown $USER /dev/fb/0
[ -e /dev/vc/0 ] && chown $USER /dev/vc/0
fi
|