9 lines
168 B
Plaintext
9 lines
168 B
Plaintext
h=x$(busybox hostid)
|
|
# Is $h a sequence of hex numbers?
|
|
x="${h//[0123456789abcdef]/x}"
|
|
x="${x//xxx/x}"
|
|
x="${x//xxx/x}"
|
|
x="${x//xxx/x}"
|
|
x="${x//xx/x}"
|
|
test x"$x" = x"x"
|