Sindbad~EG File Manager

Current Path : /etc/acpi/
Upload File :
Current File : //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

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists