mirror of
https://github.com/fspc/gbootroot.git
synced 2025-02-23 09:03:23 -05:00
Adds stop and go to the uml_mconsole interfact for the UML Box.
This commit is contained in:
parent
e6e74f851a
commit
673d4856b4
@ -1605,7 +1605,7 @@ sub uml_box {
|
|||||||
$tooltips->set_tip( $eab4,
|
$tooltips->set_tip( $eab4,
|
||||||
"Pass commands to the mconsole.\n" .
|
"Pass commands to the mconsole.\n" .
|
||||||
"1. sysrq [0-9|b|e|i|l|m|p|r|s|t|u] \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 <dev>=<config>\n4. remove <dev>\n" .
|
"3. config <dev>=<config>\n4. remove <dev>\n" .
|
||||||
"5. switch <umid>\n6. version help",
|
"5. switch <umid>\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
|
# help
|
||||||
if ( $entry_advanced[14] &&
|
if ( $entry_advanced[14] &&
|
||||||
|
2
Changes
2
Changes
@ -36,6 +36,8 @@ may fixes for both debs and rpms and their respective source packages.
|
|||||||
|
|
||||||
Improved documentation.
|
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?
|
* make a new public root_fs_dev from the uml gbootroot was made on?
|
||||||
update make-debian-x11
|
update make-debian-x11
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user