7 lines
108 B
Plaintext
7 lines
108 B
Plaintext
|
h=x$(busybox hostid)
|
||
|
# Is $h a sequence of hex numbers?
|
||
|
case "$h" in
|
||
|
x*[!0-9a-f]*) false;;
|
||
|
*) true;;
|
||
|
esac
|