Revision fa0ee03b snf-image-helper/snf-image-helper.in
b/snf-image-helper/snf-image-helper.in | ||
---|---|---|
33 | 33 |
|
34 | 34 |
set -e |
35 | 35 |
|
36 |
# terminate helper vm when the script exits |
|
37 |
add_cleanup system_poweroff |
|
36 |
if grep snf_image_activate_helper /proc/cmdline > /dev/null; then |
|
37 |
# terminate helper vm when the script exits |
|
38 |
add_cleanup system_poweroff |
|
39 |
else |
|
40 |
log_error "Kernel command line activation flag: " \ |
|
41 |
"\`snf_image_activate_helper' is missing" |
|
42 |
fi |
|
38 | 43 |
|
39 | 44 |
if [ ! -b "$FLOPPY_DEV" ]; then |
40 | 45 |
log_error "Floppy device is not present!" |
Also available in: Unified diff