Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- test -f /usr/share/acpi-support/key-constants || exit 0
- for device in /sys/devices/platform/dock.*; do
- [ -e "$device/type" ] || continue
- [ x$(cat "$device/type") = xdock_station ] || continue
- echo 1 > "$device/undock"
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement