3
# This really should be enchanced user session job
4
# and not a system one!
5
# Then the hacks to get DISPLAY & user can go away.
6
# Also the udev test are ugly =/
8
author "Dmitrijs Ledkovs <xnox@ubuntu.com>"
11
usb-device-added ID_VENDOR_ID=18d1 ID_MODEL_ID=4e40 or
12
usb-device-added ID_VENDOR_ID=18d1 ID_MODEL_ID=d001
16
test -f /usr/share/acpi-support/power-funcs || exit 0
17
. /usr/share/acpi-support/power-funcs
20
if [ x"$XAUTHORITY" != x"" ]; then
21
sudo -u $user DISPLAY="$DISPLAY" usb-creator-gtk --fastboot