mirror of
https://github.com/sheumann/hush.git
synced 2024-11-05 06:07:00 +00:00
e82cf339e4
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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"
|