[PATCH] make path to eject flexible

Danny Kukawka danny.kukawka at web.de
Mon Mar 26 12:54:21 PDT 2007


Hi,

could we change the handling of the eject call in tools/hal-storage-shared.c 
to let g_spawn_sync() find the correct path? The reason is SUSE has eject 
since ages in /bin/eject and not /usr/bin/eject (Maybe for the academic 
reason that /usr can be unavailable). 

I hope the attached patch work also on other distributions than SUSE.

Please comment.

Danny

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-fix-eject_path.diff
Type: text/x-diff
Size: 544 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20070326/ae3882e6/hal-fix-eject_path.bin


More information about the hal mailing list