projects
/
snf-image
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
In helper put sysrq shutdown cmd in an inf loop
[snf-image]
/
snf-image-helper
/
common.sh
diff --git
a/snf-image-helper/common.sh
b/snf-image-helper/common.sh
index
0cd7271
..
9c45142
100644
(file)
--- a/
snf-image-helper/common.sh
+++ b/
snf-image-helper/common.sh
@@
-88,8
+88,11
@@
report_task_end() {
}
system_poweroff() {
- # Credits to psomas@grnet.gr for this ...
- echo o > /proc/sysrq-trigger
+ while [ 1 ]; do
+ # Credits to psomas@grnet.gr for this ...
+ echo o > /proc/sysrq-trigger
+ sleep 1
+ done
}
get_base_distro() {