Linux puskom-ProLiant-DL385-Gen10 5.4.0-150-generic #167~18.04.1-Ubuntu SMP Wed May 24 00:51:42 UTC 2023 x86_64
/
etc
/
acpi
/
//etc/acpi/undock.sh
#!/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