On Friday 16 February 2007 21:19, Alex Schuster wrote:
> Mick writes:
> >   /etc/acpi/default.sh: line 57: syntax error: unexpected end of file
> > The last few of lines of my /etc/acpi/default.sh show this much:
> > ==================================
> >         ac_adapter)
> >                 case "$value" in
> >                         # Add code here to handle when the system is...
> >                         #       ;;
> >
> >                         # Add code here to handle when the system is...
> >                         # (maybe change cpu scaling to performance mode)
> >                         #*1)
> >                         #       ;;
>
> The inner case statement is not closed by an esac. This is missing (yes,
> log_unhandled comes twice):
>
>                           *)      log_unhandled $* ;;
>                   esac
>                   ;;
>
> >         *)      log_unhandled $* ;;
> > esac
>
> "emerge -1 acpid" should also give you the defaut back. Do a "quickpkg
> acpid" before if you changed othr things for yourself you want to keep
> (this creates a binary package), you can then emerge it again later
> with "emerge -1K acpid".
>
>       Alex

Thank you all,  :)

The last two lines were missing as you noted above.  I've added them and the 
button now works fine.
-- 
Regards,
Mick

Attachment: pgpAkHySa7C2D.pgp
Description: PGP signature

Reply via email to