Had to add more changes to expect_uml and UML so that there will be an

established PATH, and so that uml_mconsole's system command won't be
issued until the last line is actually come to via a new method.
This commit is contained in:
freesource
2003-02-20 05:28:29 +00:00
parent be33092ac2
commit 3f7df32e64
2 changed files with 22 additions and 20 deletions
+10 -1
View File
@@ -9,7 +9,8 @@
# Can now set password to "" to allow no password.
#
# 02/18/2003 Now login isn't mandatory which allows login-free
# inits like /bin/bash.
# inits like /bin/bash. Added a new method so that
# the last line can be discerned before halting.
package BootRoot::UML;
@@ -179,6 +180,14 @@ sub halt {
$me->{expect_handle}->expect(undef);
}
sub close_no_init {
my $me = shift;
$me->{expect_handle}->print("Shutting down\s\s\n");
$me->{expect_handle}->expect(undef, "-re", "Shutting down");
}
sub kill {
my $me = shift;