hostid-works 168 B

12345678
  1. h=x$(busybox hostid)
  2. # Is $h a sequence of hex numbers?
  3. x="${h//[0123456789abcdef]/x}"
  4. x="${x//xxx/x}"
  5. x="${x//xxx/x}"
  6. x="${x//xxx/x}"
  7. x="${x//xx/x}"
  8. test x"$x" = x"x"