stage-1: remove tuxonice handling

This commit is contained in:
Yegor Timoshenko 2018-05-13 03:28:27 +03:00
parent 714aff4004
commit a298167152

View File

@ -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@"