From a2981671523416ad5c9a49de8c16ac8fccb2306b Mon Sep 17 00:00:00 2001 From: Yegor Timoshenko Date: Sun, 13 May 2018 03:28:27 +0300 Subject: [PATCH] stage-1: remove tuxonice handling --- nixos/modules/system/boot/stage-1-init.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/nixos/modules/system/boot/stage-1-init.sh b/nixos/modules/system/boot/stage-1-init.sh index 1facf419ed06..92e68b72664a 100644 --- a/nixos/modules/system/boot/stage-1-init.sh +++ b/nixos/modules/system/boot/stage-1-init.sh @@ -405,15 +405,6 @@ lustrateRoot () { - -# Try to resume - all modules are loaded now. -if test -e /sys/power/tuxonice/resume; then - if test -n "$(cat /sys/power/tuxonice/resume)"; then - echo 0 > /sys/power/tuxonice/user_interface/enabled - echo 1 > /sys/power/tuxonice/do_resume || echo "failed to resume..." - fi -fi - if test -e /sys/power/resume -a -e /sys/power/disk; then if test -n "@resumeDevice@" && waitDevice "@resumeDevice@"; then resumeDev="@resumeDevice@"