volume unmounting/ejecting broken on linux

Danny Kukawka danny.kukawka at web.de
Wed May 17 07:37:39 PDT 2006


On Wednesday 17 May 2006 14:26, Richard Hughes wrote:
> On Wed, 2006-05-17 at 14:05 +0200, Danny Kukawka wrote:
> > On Wednesday 17 May 2006 13:45, Danny Kukawka wrote:
> > > I think because of the attached patch (untested atm). IMO the path to
> > > the OS specific scripts id wrong.
> >
> > Forget the patch ... I oversaw the Makefile of the OS dir. ;-)
>
> I think you are on the right lines tho, As if you follow the execution
> of hal-system-lcd-set-brightness it could never work:
>
> $0-$HALD_UNAME_S is actually
> "/usr/lib/hal/scripts/hal-system-lcd-set-brightness-linux"
> rather than:
> hal-system-lcd-set-brightness-linux

[...]

> if [ -n "$HALD_UNAME_S" -a -x $0-$HALD_UNAME_S ]; then
>     exec $0-$HALD_UNAME_S $@
> else
>     echo "No back-end for your operating system" >&2
>     exit 1
> fi
>
> makes the scripts work for me. Is this sane?

IMO yes, the "./" is wrong. I updated the patch.

Danny

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-fix-tools_scripts_1.diff
Type: text/x-diff
Size: 9562 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20060517/b827b5d9/hal-fix-tools_scripts_1.bin


More information about the hal mailing list