forked from DGNum/liminix
18 lines
304 B
Text
18 lines
304 B
Text
|
set timeout 60
|
||
|
|
||
|
spawn socat unix-connect:vm/console -
|
||
|
|
||
|
expect {
|
||
|
"s6-svscan exited" { }
|
||
|
timeout { exit 1 }
|
||
|
}
|
||
|
expect {
|
||
|
"s6-linux-init" { send "\r\n" };
|
||
|
"# " { send "\r\n" };
|
||
|
}
|
||
|
|
||
|
expect {
|
||
|
"# " { send "echo \$PATH; md5sum /persist/activate; figlet Yes\r\n" };
|
||
|
}
|
||
|
|
||
|
expect "#"
|