On 06/20/2011 09:15 PM, Ritesh Raj Sarraf wrote:
> There is some solution I've cooked up. I'll ask for your help soon
Could you try the attached script?

Place the attached script under /lib/udev/ folder. You will need root
permission for this. And ensure that the script has the execute bit set.

-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System

#!/bin/sh -e
# /usr is not guaranteed to be mounted when udev starts

(
        . /lib/udev/hotplug.functions
        wait_for_file /usr/sbin/laptop_mode
        exec /usr/sbin/laptop_mode "$@"
) &

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to