rendered paste bodyUsing '/etc/init.d' as init.d directory.
++ date
+ echo 'Starting suspend at Thu' Jul 6 22:21:35 CEST 2006
+ tee -a -i /var/log/hibernate.log
+ EXIT_CODE=0
+ '[' 'tee -a -i /var/log/hibernate.log' = cat ']'
+ '[' -n 1 ']'
+ DoWork
+ trap ctrlc_handler INT HUP
+ local ret
+ local CHAIN_UP_TO
+ local bit
+ CHAIN_UP_TO=0
++ SortSuspendBits
++ /bin/echo -ne '98XStatusProgressKill\n95XStatusProgress\n90XStatusProgress\n80XStatusProgress\n70XStatusProgress\n60XStatusProgress\n50XStatusProgress\n40XStatusProgress\n30XStatusProgress\n20XStatusProgress\n05XStatusSuspendBegin\n95XHacksSuspendHook2\n11XHacksSuspendHook1\n30ServicesStop\n60NetworkStop\n91ModulesUnloadBlacklist\n90ModulesUnload\n45FSTypesUnmount\n98Swsusp2ConfigSet\n99DoSwsusp2\n97ChangeToSwsuspVT\n10EnsureSwsusp2Capable\n59RemountXFSBootRO\n01NewKernelFileCheck\n89SaveKernelModprobe\n98CheckRunlevel\n01CheckRunlevel\n01CheckLastResume\n01LockFileGet\n'
++ sort -n
+ for bit in '`SortSuspendBits`'
+ local new_CHAIN_UP_TO
++ awk 'BEGIN{print substr("01CheckLastResume", 1, 2)}'
+ new_CHAIN_UP_TO=01
+ '[' -n 01 ']'
+ CHAIN_UP_TO=01
+ bit=CheckLastResume
+ vecho 1 'hibernate: [01] Executing CheckLastResume ... '
+ local v
+ v=1
+ shift
+ '[' x = x1 ']'
+ '[' 1 -le 4 ']'
+ echo hibernate: '[01]' Executing CheckLastResume ...
+ '[' -n '' ']'
+ CheckLastResume
+ '[' -f /var/run/hibernate-last-resume ']'
+ local last_resume now
+ read last_resume
++ date +%s
+ now=1152217295
+ '[' 1152217295 -gt 1152217175 ']'
+ rm -f /var/run/hibernate-last-resume
+ return 0
+ ret=0
+ '[' 0 -ge 2 ']'
+ '[' 0 -gt 0 ']'
+ '[' -n '' ']'
+ for bit in '`SortSuspendBits`'
+ local new_CHAIN_UP_TO
++ awk 'BEGIN{print substr("01CheckRunlevel", 1, 2)}'
+ new_CHAIN_UP_TO=01
+ '[' -n 01 ']'
+ CHAIN_UP_TO=01
+ bit=CheckRunlevel
+ vecho 1 'hibernate: [01] Executing CheckRunlevel ... '
+ local v
+ v=1
+ shift
+ '[' x = x1 ']'
+ '[' 1 -le 4 ']'
+ echo hibernate: '[01]' Executing CheckRunlevel ...
+ '[' -n '' ']'
+ CheckRunlevel
+ '[' -z '' ']'
++ /sbin/runlevel
+ tee -a -i /var/log/hibernate.log
hibernate: [01] Executing CheckLastResume ...
hibernate: [01] Executing CheckRunlevel ...
++ awk '{print $2}'
+ RUNLEVEL=2
+ case "${RUNLEVEL}" in
+ return 0
+ ret=0
+ '[' 0 -ge 2 ']'
+ '[' 0 -gt 0 ']'
+ '[' -n '' ']'
+ for bit in '`SortSuspendBits`'
+ local new_CHAIN_UP_TO
++ awk 'BEGIN{print substr("01LockFileGet", 1, 2)}'
+ new_CHAIN_UP_TO=01
+ '[' -n 01 ']'
+ CHAIN_UP_TO=01
+ bit=LockFileGet
+ vecho 1 'hibernate: [01] Executing LockFileGet ... '
+ local v
+ v=1
+ shift
+ '[' x = x1 ']'
+ '[' 1 -le 4 ']'
+ echo hibernate: '[01]' Executing LockFileGet ...
+ '[' -n '' ']'
+ LockFileGet
+ local other_pid
+ '[' -f /var/run/hibernate-script.pid ']'
+ echo 8408
+ LOCKFILE_IN_USE=1
+ return 0
+ ret=0
+ '[' 0 -ge 2 ']'
+ '[' 0 -gt 0 ']'
+ '[' -n '' ']'
+ for bit in '`SortSuspendBits`'
+ local new_CHAIN_UP_TO
++ awk 'BEGIN{print substr("01NewKernelFileCheck", 1, 2)}'
+ new_CHAIN_UP_TO=01
+ '[' -n 01 ']'
+ CHAIN_UP_TO=01
+ bit=NewKernelFileCheck
+ vecho 1 'hibernate: [01] Executing NewKernelFileCheck ... '
+ local v
+ v=1
+ shift
+ '[' x = x1 ']'
+ '[' 1 -le 4 ']'
+ echo hibernate: '[01]' Executing NewKernelFileCheck ...
+ '[' -n '' ']'
+ NewKernelFileCheck
+ '[' -f /var/run/suspend2-new-kernel ']'
+ return 0
+ ret=0
+ '[' 0 -ge 2 ']'
+ '[' 0 -gt 0 ']'
+ '[' -n '' ']'
+ for bit in '`SortSuspendBits`'
+ local new_CHAIN_UP_TO
++ awk 'BEGIN{print substr("05XStatusSuspendBegin", 1, 2)}'
+ new_CHAIN_UP_TO=05
+ '[' -n 05 ']'
+ CHAIN_UP_TO=05
+ bit=XStatusSuspendBegin
+ vecho 1 'hibernate: [05] Executing XStatusSuspendBegin ... '
+ local v
+ v=1
+ shift
+ '[' x = x1 ']'
+ '[' 1 -le 4 ']'
+ echo hibernate: '[05]' Executing XStatusSuspendBegin ...
+ '[' -n '' ']'
+ XStatusSuspendBegin
+ '[' -z gnome ']'
+ XSTATUS_PROGRESS=10
+ XStatusProgressStart_gnome 'Bereite Ruhezustand des Systemes vor...'
+ trap XStatusProgressPIPEhandler_gnome PIPE
++ /bin/sh -c 'echo $PPID'
hibernate: [01] Executing LockFileGet ...
hibernate: [01] Executing NewKernelFileCheck ...
hibernate: [05] Executing XStatusSuspendBegin ...
+ pid_to_kill=8614
+ '[' -n '' ']'
+ eval 'exec 8> >(XStatusProgressStart_gnomeZenityHelper "Bereite Ruhezustand des Systemes vor...")'
++ exec
+++ XStatusProgressStart_gnomeZenityHelper 'Bereite Ruhezustand des Systemes vor...'
+++ trap zenity_hup_handler HUP
+++ zenity --progress --auto-close --title=Hibernate '--text=Bereite Ruhezustand des Systemes vor...'
+ echo 10
+ ZENITY_OPEN=1
+ return 0
+ ret=0
+ '[' 0 -ge 2 ']'
+ '[' 0 -gt 0 ']'
+ '[' -n '' ']'
+ for bit in '`SortSuspendBits`'
+ local new_CHAIN_UP_TO
++ awk 'BEGIN{print substr("10EnsureSwsusp2Capable", 1, 2)}'
+ new_CHAIN_UP_TO=10
+ '[' -n 10 ']'
+ CHAIN_UP_TO=10
+ bit=EnsureSwsusp2Capable
+ vecho 1 'hibernate: [10] Executing EnsureSwsusp2Capable ... '
+ local v
+ v=1
+ shift
+ '[' x = x1 ']'
+ '[' 1 -le 4 ']'
+ echo hibernate: '[10]' Executing EnsureSwsusp2Capable ...
+ '[' -n '' ']'
+ EnsureSwsusp2Capable
+ local ver
+ '[' -d /proc/suspend2 ']'
+ '[' -f /proc/suspend2/activate ']'
+ '[' -f /proc/suspend2/do_suspend ']'
+ '[' '!' -f /proc/suspend2/version ']'
+ SwsuspIsAtLeastVersion 33554535
++ awk 'BEGIN{FS="[^0-9]"}{print($1*16777216)+($2*65536)+($3*256)+$4}' /proc/suspend2/version
+ ver=33687296
+ '[' 33687296 -ge 33554535 ']'
+ return 0
+ '[' x1 '!=' x1 ']'
+ '[' -f /proc/suspend2/resume2 ']'
+ '[' -n swap:/dev/hda6 ']'
+ return 0
+ ret=0
+ '[' 0 -ge 2 ']'
+ '[' 0 -gt 0 ']'
+ '[' -n '' ']'
+ for bit in '`SortSuspendBits`'
+ local new_CHAIN_UP_TO
++ awk 'BEGIN{print substr("11XHacksSuspendHook1", 1, 2)}'
+ new_CHAIN_UP_TO=11
+ '[' -n 11 ']'
+ CHAIN_UP_TO=11
+ bit=XHacksSuspendHook1
+ vecho 1 'hibernate: [11] Executing XHacksSuspendHook1 ... '
+ local v
+ v=1
+ shift
+ '[' x = x1 ']'
+ '[' 1 -le 4 ']'
+ echo hibernate: '[11]' Executing XHacksSuspendHook1 ...
+ '[' -n '' ']'
+ XHacksSuspendHook1
+ '[' x = x1 ']'
+ '[' x = x1 ']'
+ '[' -n '' ']'
+ return 0
+ ret=0
+ '[' 0 -ge 2 ']'
+ '[' 0 -gt 0 ']'
+ '[' -n '' ']'
+ for bit in '`SortSuspendBits`'
+ local new_CHAIN_UP_TO
++ awk 'BEGIN{print substr("20XStatusProgress", 1, 2)}'
+ new_CHAIN_UP_TO=20
+ '[' -n 20 ']'
+ CHAIN_UP_TO=20
+ bit=XStatusProgress
+ vecho 1 'hibernate: [20] Executing XStatusProgress ... '
+ local v
+ v=1
+ shift
+ '[' x = x1 ']'
+ '[' 1 -le 4 ']'
+ echo hibernate: '[20]' Executing XStatusProgress ...
+ '[' -n '' ']'
+ XStatusProgress
+ '[' -z gnome ']'
+ XSTATUS_PROGRESS=20
+ XStatusProgressUpdate_gnome
+ '[' -n 1 ']'
+ echo 20
+ '[' x20 = x100 ']'
+ return 0
+ ret=0
+ '[' 0 -ge 2 ']'
+ '[' 0 -gt 0 ']'
+ '[' -n '' ']'
+ for bit in '`SortSuspendBits`'
+ local new_CHAIN_UP_TO
++ awk 'BEGIN{print substr("30ServicesStop", 1, 2)}'
+ new_CHAIN_UP_TO=30
+ '[' -n 30 ']'
+ CHAIN_UP_TO=30
+ bit=ServicesStop
+ vecho 1 'hibernate: [30] Executing ServicesStop ... '
+ local v
+ v=1
+ shift
+ '[' x = x1 ']'
+ '[' 1 -le 4 ']'
+ echo hibernate: '[30]' Executing ServicesStop ...
+ '[' -n '' ']'
+ ServicesStop
+ '[' -z 1 ']'
+ ExecuteServices stop
+ local action
+ local services
+ local service
+ action=stop
+ shift
+ services=
+ ret=0
+ return 0
+ RESTARTED_SERVICES=
+ ExecuteServices stop laptop-mode
+ local action
+ local services
+ local service
+ action=stop
+ shift
+ services=laptop-mode
+ ret=0
+ for service in '$services'
+ InvokeRCD laptop-mode stop
+ vecho 2 'Executing invoke-rc.d laptop-mode' stop
+ local v
+ v=2
+ shift
+ '[' x = x1 ']'
+ '[' 2 -le 4 ']'
+ echo Executing invoke-rc.d laptop-mode stop
+ invoke-rc.d laptop-mode stop
hibernate: [10] Executing EnsureSwsusp2Capable ...
hibernate: [11] Executing XHacksSuspendHook1 ...
hibernate: [20] Executing XStatusProgress ...
hibernate: [30] Executing ServicesStop ...
Executing invoke-rc.d laptop-mode stop
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
This option is not available. Please see --help for all possible usages.
+++ kill -INT 8614
+++ exit 0
++ ctrlc_handler
++ SUSPEND_ABORT=1
+ '[' 0 -ne 100 ']'
+ RESTARTED_SERVICES='laptop-mode '
+ return 0
+ return 0
+ ret=0
+ '[' 0 -ge 2 ']'
+ '[' 0 -gt 0 ']'
+ '[' -n 1 ']'
+ vecho 0 'hibernate: Suspend aborted by user.'
+ local v
+ v=0
+ shift
+ '[' x = x1 ']'
+ '[' 0 -le 4 ']'
+ echo hibernate: Suspend aborted by user.
+ EXIT_CODE=3
+ break
++ SortResumeBits
++ /bin/echo -ne '01XStatusReportErrors\n05XStatusProgressKill\n15XStatusProgress\n20XStatusProgress\n30XStatusProgress\n40XStatusProgress\n50XStatusProgress\n60XStatusProgress\n70XStatusProgress\n80XStatusProgress\n90XStatusProgress\n95XStatusResumeBegin\n85XHacksResumeHook2\n11XHacksResumeHook1\n30ServicesStart\n60NetworkStart\n90ModulesLoad\n70ClockRestore\n00RemoveSwsuspProcCruft\n97ChangeFromSwsuspVT\n59RemountXFSBootRW\n89RestoreKernelModprobe\n01NoteLastResume\n01LockFilePut\n'
++ sort -rn
hibernate: Suspend aborted by user.
+ for bit in '`SortResumeBits`'
++ awk 'BEGIN{print substr("97ChangeFromSwsuspVT", 1, 2)}'
+ THIS_POS=97
+ '[' -z 97 ']'
+ bit=ChangeFromSwsuspVT
+ '[' 97 -gt 30 ']'
+ continue
+ for bit in '`SortResumeBits`'
++ awk 'BEGIN{print substr("95XStatusResumeBegin", 1, 2)}'
+ THIS_POS=95
+ '[' -z 95 ']'
+ bit=XStatusResumeBegin
+ '[' 95 -gt 30 ']'
+ continue
+ for bit in '`SortResumeBits`'
++ awk 'BEGIN{print substr("90XStatusProgress", 1, 2)}'
+ THIS_POS=90
+ '[' -z 90 ']'
+ bit=XStatusProgress
+ '[' 90 -gt 30 ']'
+ continue
+ for bit in '`SortResumeBits`'
++ awk 'BEGIN{print substr("90ModulesLoad", 1, 2)}'
+ THIS_POS=90
+ '[' -z 90 ']'
+ bit=ModulesLoad
+ '[' 90 -gt 30 ']'
+ continue
+ for bit in '`SortResumeBits`'
++ awk 'BEGIN{print substr("89RestoreKernelModprobe", 1, 2)}'
+ THIS_POS=89
+ '[' -z 89 ']'
+ bit=RestoreKernelModprobe
+ '[' 89 -gt 30 ']'
+ continue
+ for bit in '`SortResumeBits`'
++ awk 'BEGIN{print substr("85XHacksResumeHook2", 1, 2)}'
+ THIS_POS=85
+ '[' -z 85 ']'
+ bit=XHacksResumeHook2
+ '[' 85 -gt 30 ']'
+ continue
+ for bit in '`SortResumeBits`'
++ awk 'BEGIN{print substr("80XStatusProgress", 1, 2)}'
+ THIS_POS=80
+ '[' -z 80 ']'
+ bit=XStatusProgress
+ '[' 80 -gt 30 ']'
+ continue
+ for bit in '`SortResumeBits`'
++ awk 'BEGIN{print substr("70XStatusProgress", 1, 2)}'
+ THIS_POS=70
+ '[' -z 70 ']'
+ bit=XStatusProgress
+ '[' 70 -gt 30 ']'
+ continue
+ for bit in '`SortResumeBits`'
++ awk 'BEGIN{print substr("70ClockRestore", 1, 2)}'
+ THIS_POS=70
+ '[' -z 70 ']'
+ bit=ClockRestore
+ '[' 70 -gt 30 ']'
+ continue
+ for bit in '`SortResumeBits`'
++ awk 'BEGIN{print substr("60XStatusProgress", 1, 2)}'
+ THIS_POS=60
+ '[' -z 60 ']'
+ bit=XStatusProgress
+ '[' 60 -gt 30 ']'
+ continue
+ for bit in '`SortResumeBits`'
++ awk 'BEGIN{print substr("60NetworkStart", 1, 2)}'
+ THIS_POS=60
+ '[' -z 60 ']'
+ bit=NetworkStart
+ '[' 60 -gt 30 ']'
+ continue
+ for bit in '`SortResumeBits`'
++ awk 'BEGIN{print substr("59RemountXFSBootRW", 1, 2)}'
+ THIS_POS=59
+ '[' -z 59 ']'
+ bit=RemountXFSBootRW
+ '[' 59 -gt 30 ']'
+ continue
+ for bit in '`SortResumeBits`'
++ awk 'BEGIN{print substr("50XStatusProgress", 1, 2)}'
+ THIS_POS=50
+ '[' -z 50 ']'
+ bit=XStatusProgress
+ '[' 50 -gt 30 ']'
+ continue
+ for bit in '`SortResumeBits`'
++ awk 'BEGIN{print substr("40XStatusProgress", 1, 2)}'
+ THIS_POS=40
+ '[' -z 40 ']'
+ bit=XStatusProgress
+ '[' 40 -gt 30 ']'
+ continue
+ for bit in '`SortResumeBits`'
++ awk 'BEGIN{print substr("30XStatusProgress", 1, 2)}'
+ THIS_POS=30
+ '[' -z 30 ']'
+ bit=XStatusProgress
+ '[' 30 -gt 30 ']'
+ vecho 1 'hibernate: [30] Executing XStatusProgress ... '
+ local v
+ v=1
+ shift
+ '[' x = x1 ']'
+ '[' 1 -le 4 ']'
+ echo hibernate: '[30]' Executing XStatusProgress ...
+ '[' -n '' ']'
+ XStatusProgress
+ '[' -z gnome ']'
+ XSTATUS_PROGRESS=30
+ XStatusProgressUpdate_gnome
+ '[' -n 1 ']'
+ echo 30
/usr/share/hibernate/scriptlets.d/xstatus: line 101: echo: write error: Broken pipe
++ XStatusProgressPIPEhandler_gnome
++ ZENITY_OPEN=
++ XStatusProgressKill_gnome
++ '[' -n '' ']'
++ exec
++ '[' -p '' ']'
++ '[' -n '' ']'
++ ZENITY_OPEN=
+ '[' x30 = x100 ']'
+ return 0
+ for bit in '`SortResumeBits`'
++ awk 'BEGIN{print substr("30ServicesStart", 1, 2)}'
+ THIS_POS=30
+ '[' -z 30 ']'
+ bit=ServicesStart
+ '[' 30 -gt 30 ']'
+ vecho 1 'hibernate: [30] Executing ServicesStart ... '
+ local v
+ v=1
+ shift
+ '[' x = x1 ']'
+ '[' 1 -le 4 ']'
+ echo hibernate: '[30]' Executing ServicesStart ...
+ '[' -n '' ']'
+ ServicesStart
+ '[' -z 1 ']'
+ ExecuteServices start laptop-mode
+ local action
+ local services
+ local service
+ action=start
+ shift
+ services=laptop-mode
+ ret=0
+ for service in '$services'
+ InvokeRCD laptop-mode start
+ vecho 2 'Executing invoke-rc.d laptop-mode' start
+ local v
+ v=2
+ shift
+ '[' x = x1 ']'
+ '[' 2 -le 4 ']'
+ echo Executing invoke-rc.d laptop-mode start
+ invoke-rc.d laptop-mode start
hibernate: [30] Executing XStatusProgress ...
hibernate: [30] Executing ServicesStart ...
Executing invoke-rc.d laptop-mode start
+ '[' 0 -ne 100 ']'
+ RESTARTED_SERVICES='laptop-mode laptop-mode '
+ return 0
+ ExecuteServices start
+ local action
+ local services
+ local service
+ action=start
+ shift
+ services=
+ ret=0
+ return 0
+ for bit in '`SortResumeBits`'
++ awk 'BEGIN{print substr("20XStatusProgress", 1, 2)}'
+ THIS_POS=20
+ '[' -z 20 ']'
+ bit=XStatusProgress
+ '[' 20 -gt 30 ']'
+ vecho 1 'hibernate: [20] Executing XStatusProgress ... '
+ local v
+ v=1
+ shift
+ '[' x = x1 ']'
+ '[' 1 -le 4 ']'
+ echo hibernate: '[20]' Executing XStatusProgress ...
+ '[' -n '' ']'
+ XStatusProgress
+ '[' -z gnome ']'
+ XSTATUS_PROGRESS=40
+ XStatusProgressUpdate_gnome
+ '[' -n '' ']'
+ '[' x40 = x100 ']'
+ return 0
+ for bit in '`SortResumeBits`'
++ awk 'BEGIN{print substr("15XStatusProgress", 1, 2)}'
+ THIS_POS=15
+ '[' -z 15 ']'
+ bit=XStatusProgress
+ '[' 15 -gt 30 ']'
+ vecho 1 'hibernate: [15] Executing XStatusProgress ... '
+ local v
+ v=1
+ shift
+ '[' x = x1 ']'
+ '[' 1 -le 4 ']'
+ echo hibernate: '[15]' Executing XStatusProgress ...
+ '[' -n '' ']'
+ XStatusProgress
+ '[' -z gnome ']'
+ XSTATUS_PROGRESS=50
+ XStatusProgressUpdate_gnome
+ '[' -n '' ']'
+ '[' x50 = x100 ']'
+ return 0
+ for bit in '`SortResumeBits`'
++ awk 'BEGIN{print substr("11XHacksResumeHook1", 1, 2)}'
+ THIS_POS=11
+ '[' -z 11 ']'
+ bit=XHacksResumeHook1
+ '[' 11 -gt 30 ']'
+ vecho 1 'hibernate: [11] Executing XHacksResumeHook1 ... '
+ local v
+ v=1
+ shift
+ '[' x = x1 ']'
+ '[' 1 -le 4 ']'
+ echo hibernate: '[11]' Executing XHacksResumeHook1 ...
+ '[' -n '' ']'
+ XHacksResumeHook1
+ '[' -n '' ']'
+ return 0
+ for bit in '`SortResumeBits`'
++ awk 'BEGIN{print substr("05XStatusProgressKill", 1, 2)}'
+ THIS_POS=05
+ '[' -z 05 ']'
+ bit=XStatusProgressKill
+ '[' 05 -gt 30 ']'
+ vecho 1 'hibernate: [05] Executing XStatusProgressKill ... '
+ local v
+ v=1
+ shift
+ '[' x = x1 ']'
+ '[' 1 -le 4 ']'
+ echo hibernate: '[05]' Executing XStatusProgressKill ...
+ '[' -n '' ']'
+ XStatusProgressKill
+ '[' -z gnome ']'
+ XSTATUS_PROGRESS=60
+ XStatusProgressKill_gnome
+ '[' -n '' ']'
+ exec
+ '[' -p '' ']'
+ '[' -n '' ']'
+ ZENITY_OPEN=
+ return 0
+ for bit in '`SortResumeBits`'
++ awk 'BEGIN{print substr("01XStatusReportErrors", 1, 2)}'
+ THIS_POS=01
+ '[' -z 01 ']'
+ bit=XStatusReportErrors
+ '[' 01 -gt 30 ']'
+ vecho 1 'hibernate: [01] Executing XStatusReportErrors ... '
+ local v
+ v=1
+ shift
+ '[' x = x1 ']'
+ '[' 1 -le 4 ']'
+ echo hibernate: '[01]' Executing XStatusReportErrors ...
+ '[' -n '' ']'
+ XStatusReportErrors
+ '[' -z gnome ']'
+ '[' -z '' ']'
+ return 0
+ for bit in '`SortResumeBits`'
++ awk 'BEGIN{print substr("01NoteLastResume", 1, 2)}'
+ THIS_POS=01
+ '[' -z 01 ']'
+ bit=NoteLastResume
+ '[' 01 -gt 30 ']'
+ vecho 1 'hibernate: [01] Executing NoteLastResume ... '
+ local v
+ v=1
+ shift
+ '[' x = x1 ']'
+ '[' 1 -le 4 ']'
+ echo hibernate: '[01]' Executing NoteLastResume ...
+ '[' -n '' ']'
+ NoteLastResume
+ '[' -f /var/run/hibernate-last-resume ']'
+ date +%s
+ return 0
+ for bit in '`SortResumeBits`'
++ awk 'BEGIN{print substr("01LockFilePut", 1, 2)}'
+ THIS_POS=01
+ '[' -z 01 ']'
+ bit=LockFilePut
+ '[' 01 -gt 30 ']'
+ vecho 1 'hibernate: [01] Executing LockFilePut ... '
+ local v
+ v=1
+ shift
+ '[' x = x1 ']'
+ '[' 1 -le 4 ']'
+ echo hibernate: '[01]' Executing LockFilePut ...
+ '[' -n '' ']'
+ LockFilePut
+ '[' -z 1 ']'
+ local lockfile_pid
+ read lockfile_pid
+ IsANumber 8408
+ case "$1" in
+ return 0
+ '[' 8408 -eq 8408 ']'
+ rm -f /var/run/hibernate-script.pid
+ return 0
+ for bit in '`SortResumeBits`'
++ awk 'BEGIN{print substr("00RemoveSwsuspProcCruft", 1, 2)}'
+ THIS_POS=00
+ '[' -z 00 ']'
+ bit=RemoveSwsuspProcCruft
+ '[' 00 -gt 30 ']'
+ vecho 1 'hibernate: [00] Executing RemoveSwsuspProcCruft ... '
+ local v
+ v=1
+ shift
+ '[' x = x1 ']'
+ '[' 1 -le 4 ']'
+ echo hibernate: '[00]' Executing RemoveSwsuspProcCruft ...
+ '[' -n '' ']'
+ RemoveSwsuspProcCruft
+ '[' -f /tmp/tmp.hibernate.9iUyC9 ']'
+ rm -f /tmp/tmp.hibernate.9iUyC9
+ return 0
+ return 3
hibernate: [20] Executing XStatusProgress ...
hibernate: [15] Executing XStatusProgress ...
hibernate: [11] Executing XHacksResumeHook1 ...
hibernate: [05] Executing XStatusProgressKill ...
hibernate: [01] Executing XStatusReportErrors ...
hibernate: [01] Executing NoteLastResume ...
hibernate: [01] Executing LockFilePut ...
hibernate: [00] Executing RemoveSwsuspProcCruft ...
+ eval 'EXIT_CODE=${PIPESTATUS[0]}'
++ EXIT_CODE=3
++ date
+ echo 'Resumed at Thu' Jul 6 22:21:36 CEST 2006
+ tee -a -i /var/log/hibernate.log
+ exit 3