Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export LANG=en_US.UTF-8
- export LC_COLLATE=en_US.UTF-8
- export GSETTINGS_BACKEND=gconf
- # run the oneshot triggers for root and first user uid
- UID_MIN=$(grep "^UID_MIN" /etc/login.defs | tr -s " " | cut -d " " -f2)
- DEVICEUSER=`getent passwd $UID_MIN | sed 's/:.*//'`
- if [ -x /usr/bin/oneshot ]; then
- su -c "/usr/bin/oneshot --mic"
- su -c "/usr/bin/oneshot --mic" $DEVICEUSER
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement