[gpm] Defaults for reboot and shutdown

Danny Kukawka danny.kukawka at web.de
Mon Dec 12 14:56:47 PST 2005


Hi,

On Monday 12 December 2005 17:37, David Zeuthen wrote:
> On Fri, 2005-12-09 at 19:21 +0000, Richard Hughes wrote:
> > Initial patch attached.
> >
> > Comments please,
>
> Looks good to me but I didn't test it. If you tested this and it works I
> guess it's good to commit. We can take fixes for exotic distributions as
> time progresses.

Looks as if it wasn't tested:

danny at darkangel:/tmp/hal/tools> ./hal-system-power-reboot
./hal-system-power-reboot: line 10: syntax error near unexpected token `else'
./hal-system-power-reboot: line 10: `else'

danny at darkangel:/tmp/hal/tools> ./hal-system-power-shutdown
./hal-system-power-shutdown: line 10: syntax error near unexpected token 
´else'
./hal-system-power-shutdown: line 10: `else'

See attached patch.

Cheers,

Danny

 hal-system-power-reboot   |   22 +++++++++-------------
 hal-system-power-shutdown |   22 +++++++++-------------
 2 files changed, 18 insertions(+), 26 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-fix-scripts_shutdown_reboot.diff
Type: text/x-diff
Size: 1912 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20051212/b96cbb0a/hal-fix-scripts_shutdown_reboot.bin


More information about the hal mailing list