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
-- 
gentoo-user@gentoo.org mailing list

Reply via email to