diff options
-rwxr-xr-x | pm/module.d/tuxonice | 2 | ||||
-rw-r--r-- | pm/pm-functions.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pm/module.d/tuxonice b/pm/module.d/tuxonice index 9764e21..05f208e 100755 --- a/pm/module.d/tuxonice +++ b/pm/module.d/tuxonice @@ -11,7 +11,7 @@ for loc in "/sys/power/tuxonice" "/sys/power/suspend2"; do [ -d "${loc}" ] && { TUXONICE_LOC="${loc}"; break; } done -if [ -n $TUXONICE_LOC ]; then +if [ -n "$TUXONICE_LOC" ]; then toi_maybe_chvt() { local toi_ui="$(cat "$TUXONICE_LOC/user_interface/program")" local toi_ui_en="$(cat "$TUXONICE_LOC/user_interface/enabled")" diff --git a/pm/pm-functions.in b/pm/pm-functions.in index c1b00b3..9a25b10 100644 --- a/pm/pm-functions.in +++ b/pm/pm-functions.in @@ -37,7 +37,7 @@ LC_COLLATE=C # and end users should modify these using files in /etc/pm/config. HIBERNATE_MODE="" HIBERNATE_RESUME_POST_VIDEO="no" -SLEEP_MODULE="kernel" +SLEEP_MODULE="auto" # These variables will be handled specially when we load the config file. SUSPEND_MODULES="" HOOK_BLACKLIST="" |