3
0

hostid-works 108 B

123456
  1. h=x$(busybox hostid)
  2. # Is $h a sequence of hex numbers?
  3. case "$h" in
  4. x*[!0-9a-f]*) false;;
  5. *) true;;
  6. esac