#!/bin/sh # Enable Asus ACPI .. it reads events from user's home directory /usr/bin/asus_acpid one. # I need all privileges to kill if I'm not root .. see "/etc/sudoers". # # By using this script every user can set his hotkeys (if directory # ".asus_acpid" with necessary scripts is present in the user home). # # Luca Boni, 2 Febbraio 2005 if [ `whoami` == "root" ]; then /usr/bin/killall asus_acpid else /usr/bin/sudo /usr/bin/killall asus_acpid fi /usr/bin/asus_acpid