iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
btrbk fixes
[distro-setup]
/
filesystem
/
usr
/
local
/
bin
/
spend
diff --git
a/filesystem/usr/local/bin/spend
b/filesystem/usr/local/bin/spend
index 9387339bb93a88de39b4fde063c509e5e456caa4..f4b68b781ea6039af67b6a761938f2ebeb726d2b 100755
(executable)
--- a/
filesystem/usr/local/bin/spend
+++ b/
filesystem/usr/local/bin/spend
@@
-2,8
+2,8
@@
for (( i=0; i<3; i++ )); do
systemctl suspend
for (( i=0; i<3; i++ )); do
systemctl suspend
-
wall -n spend: $$ suspending in 3
0 seconds
- sleep
3
0
+
echo $$ suspending in 18
0 seconds
+ sleep
18
0
done
done
-wall -n spend: $$ shutdown in
3
0 seconds
+wall -n spend: $$ shutdown in
18
0 seconds
shutdown
shutdown