repo.or.cz
/
aur-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git]
/
fbsplash-uswsusp
/
uresume-hook
blob
1ad20acecef9a21f10f29f7a45d2f84988a944d5
1
# vim:set ft=sh:
2
run_hook ()
3
{
4
# wait for any fbcondecor fadein to finish
5
for f in /proc/*/cmdline ; do
6
[ -f ${f} ] || continue
7
case "$( cat ${f} )" in
8
*fbcondecor_helper* )
9
i=60
10
while [ ${i} -gt 0 -a -e ${f} ]; do
11
sleep .1
12
i=$(( ${i} - 1 ))
13
done
14
;;
15
esac
16
done
17
# Try resuming with uswsusp
18
/usr/lib/suspend/resume
19
}