git.iko.soy/typeable/nixpkgs
on master help sign in
stage-1: remove tuxonice handling
commita2981671523416ad5c9a49de8c16ac8fccb2306b authorYegor Timoshenko <yegortimoshenko@riseup.net> dateSun 13 May 2018, 03:28 (9 years ago) parent714aff4
1 file changed−9
nixos/modules/system/boot/stage-1-init.sh−9
nixos/modules/system/boot/stage-1-init.sh−9
@@ -405,15 +405,6 @@ lustrateRoot () {
405405
406406
407407
408−
409−# Try to resume - all modules are loaded now.
410−if test -e /sys/power/tuxonice/resume; then
411− if test -n "$(cat /sys/power/tuxonice/resume)"; then
412− echo 0 > /sys/power/tuxonice/user_interface/enabled
413− echo 1 > /sys/power/tuxonice/do_resume || echo "failed to resume..."
414− fi
415−fi
416−
417408if test -e /sys/power/resume -a -e /sys/power/disk; then
418409 if test -n "@resumeDevice@" && waitDevice "@resumeDevice@"; then
419410 resumeDev="@resumeDevice@"