tftpboot: don't rely on hostname being set

pull/2/head
Daniel Barlow 2024-01-03 19:40:00 +00:00
parent fc5def2e15
commit 9632a64b47
1 changed files with 2 additions and 2 deletions

View File

@ -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 }
}