|
@ -1071,6 +1071,8 @@ sub uml_box { |
|
|
# xterm -e linux ubd#=root_fs |
|
|
# xterm -e linux ubd#=root_fs |
|
|
# root=/dev/ubd# |
|
|
# root=/dev/ubd# |
|
|
my $pid; |
|
|
my $pid; |
|
|
|
|
|
if ($entry_advanced[8] && |
|
|
|
|
|
$entry_advanced[10]) { |
|
|
unless ($pid = fork) { |
|
|
unless ($pid = fork) { |
|
|
unless (fork) { |
|
|
unless (fork) { |
|
|
if ($pid == 0) { |
|
|
if ($pid == 0) { |
|
@ -1082,7 +1084,22 @@ sub uml_box { |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
waitpid($pid,0); |
|
|
waitpid($pid,0); |
|
|
|
|
|
} |
|
|
|
|
|
else { |
|
|
|
|
|
if (!$entry_advanced[8]) { |
|
|
|
|
|
error_window("gBootRoot Error: " . |
|
|
|
|
|
"Enter a xterm, and executable " . |
|
|
|
|
|
"option."); |
|
|
|
|
|
return; |
|
|
|
|
|
} |
|
|
|
|
|
if (!$entry_advanced[10]) { |
|
|
|
|
|
error_window("gBootRoot Error: " . |
|
|
|
|
|
"Enter the ubd?=Root_Filesystem " . |
|
|
|
|
|
"and its location."); |
|
|
|
|
|
return; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} ); |
|
|
} ); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|