[Debian-eeepc-devel] Changes for eeepc-acpi-scripts

Damyan Ivanov dmn at debian.org
Thu Jun 12 10:04:07 UTC 2008


-=| jcsid, Thu, Jun 12, 2008 at 11:00:55AM +0200 |=-
> --- Desktop/eeepc-acpi-scripts/eeepc-acpi-scripts/actions/hotkey.sh	
> 2008-04-25 14:29:09.000000000 +0200
> +++ /etc/acpi/actions/hotkey.sh	2008-06-12 10:26:23.000000000 +0200
> -        home=$(getent passwd $user | cut -d: -f6)
> -	XAUTHORITY=$home/.Xauthority
> +	XAUTHORITY=/home/$user/.Xauthority

This is wrong. The home directory can be outside /home and be named 
otherwise, not the same as the user.

I didn't look at the rest.

-- 
dam            JabberID: dam at jabber.minus273.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/debian-eeepc-devel/attachments/20080612/9b60ea4d/attachment.pgp 


More information about the Debian-eeepc-devel mailing list