1 |
Mick writes: |
2 |
|
3 |
> /etc/acpi/default.sh: line 57: syntax error: unexpected end of file |
4 |
> The last few of lines of my /etc/acpi/default.sh show this much: |
5 |
> ================================== |
6 |
> ac_adapter) |
7 |
> case "$value" in |
8 |
> # Add code here to handle when the system is... |
9 |
> # ;; |
10 |
> |
11 |
> # Add code here to handle when the system is... |
12 |
> # (maybe change cpu scaling to performance mode) |
13 |
> #*1) |
14 |
> # ;; |
15 |
|
16 |
The inner case statement is not closed by an esac. This is missing (yes, |
17 |
log_unhandled comes twice): |
18 |
|
19 |
*) log_unhandled $* ;; |
20 |
esac |
21 |
;; |
22 |
|
23 |
> *) log_unhandled $* ;; |
24 |
> esac |
25 |
|
26 |
"emerge -1 acpid" should also give you the defaut back. Do a "quickpkg |
27 |
acpid" before if you changed othr things for yourself you want to keep |
28 |
(this creates a binary package), you can then emerge it again later |
29 |
with "emerge -1K acpid". |
30 |
|
31 |
Alex |
32 |
-- |
33 |
gentoo-user@g.o mailing list |