- \--on, --off
- Switch on/off the target machine. Currently works only with
- __\--iprelay__.
+ Switch on/off the target machine and exit. If script (if any) is
+ completely ignored. Currently works only with __\--iprelay__.
- \-Q, --qemu\[=_qemu-binary_\]
my $EOF;
my $last_fn = '';
my ($modules, $variables, $generated, $continuation);
-while (<>) {
+my $skip_reading = defined($on_opt) || defined($off_opt);
+while (!$skip_reading && ($_ = <>)) {
if ($ARGV ne $last_fn) { # New script
die "Missing EOF in $last_fn" if $file;
die "Unfinished line in $last_fn" if $continuation;
=item --on, --off
-Switch on/off the target machine. Currently works only with
-B<--iprelay>.
+Switch on/off the target machine and exit. If script (if any) is
+completely ignored. Currently works only with B<--iprelay>.
=item -Q, --qemu[=I<qemu-binary>]