S05vbesave boot message

ZIYAD A. M. AL-BATLY zamb at spymac.com
Fri Feb 25 22:39:56 UTC 2005


On Sat, 2005-02-26 at 10:11 +1300, Bill Christiansen wrote:
>I noticed the following boot message:
>/etc/rc2.d/S05vbesave: line 14: [: = : unary operator expected
>
>looking at line 14 of this file:
>if [ $SAVE_VBE_STATE = "true" ]; then
>
>any problem here?
>
>

The problem mentioned, happen when the variable SVAE_VBE_STATE (found
in /etc/default/acpi-support) is unset (deleted) or set to nothing.

To correct this problem, re-install the package "acpi-support" and use
the default configuration file when (if?) prompted (if this didn't
happen, just add a line with "SAVE_VBE_STATE=true"
in /etc/default/acpi-support).

As for the maintainer of the "acpi-support" package, line 14
of /etc/init.d/vbesave should read:

        if [ x"$SAVE_VBE_STATE" = x"true" ]; then

just in case if the user sets the SAVE_VBE_STATE variable to nothing or
commented/deleted the line.





More information about the ubuntu-users mailing list