forked from DGNum/liminix
tftpboot: don't rely on hostname being set
This commit is contained in:
parent
fc5def2e15
commit
9632a64b47
1 changed files with 2 additions and 2 deletions
|
@ -20,11 +20,11 @@ expect {
|
|||
}
|
||||
|
||||
expect {
|
||||
"#" { send "test -f /proc/device-tree/reserved-memory/phram-rootfs*/name && hostname \r" }
|
||||
"#" { send "test -f /proc/device-tree/reserved-memory/phram-rootfs*/name && uname \r" }
|
||||
timeout { exit 1 }
|
||||
}
|
||||
|
||||
expect {
|
||||
"tftpboot-test" { exit 0 }
|
||||
"Linux" { exit 0 }
|
||||
timeout { exit 1 }
|
||||
}
|
Loading…
Reference in a new issue