diff --git a/BootRoot/BootRoot.pm b/BootRoot/BootRoot.pm index f443d92..1ed5d4c 100644 --- a/BootRoot/BootRoot.pm +++ b/BootRoot/BootRoot.pm @@ -1605,7 +1605,7 @@ sub uml_box { $tooltips->set_tip( $eab4, "Pass commands to the mconsole.\n" . "1. sysrq [0-9|b|e|i|l|m|p|r|s|t|u] \n" . - "2. cad reboot halt \n" . + "2. cad reboot halt stop go \n" . "3. config =\n4. remove \n" . "5. switch \n6. version help", "" ); @@ -1639,6 +1639,45 @@ sub uml_box { } + # stop + if ( $entry_advanced[14] && + $entry_advanced[14] =~ m,stop, ) { + for my $co (0 .. $#command_parts ) { + if ( $command_parts[$co] eq + "stop" + ) + { + sys( + "uml_mconsole " . + $umid . + " stop"); + + } + + } + + } + + + # go + if ( $entry_advanced[14] && + $entry_advanced[14] =~ m,go, ) { + for my $co (0 .. $#command_parts ) { + if ( $command_parts[$co] eq + "go" + ) + { + sys( + "uml_mconsole " . + $umid . + " go"); + + } + + } + + } + # help if ( $entry_advanced[14] && diff --git a/Changes b/Changes index 473809e..0ef0a9c 100644 --- a/Changes +++ b/Changes @@ -36,6 +36,8 @@ may fixes for both debs and rpms and their respective source packages. Improved documentation. +Added stop and go to the uml_mconsole interface for the UML Box. + * make a new public root_fs_dev from the uml gbootroot was made on? update make-debian-x11