ntpd: set offset to 0.0 in "usync" event
[oweals/busybox.git] / applets / usage_compressed
index e1fd0d94df9009477f9b1488951e5cb6b3cf0de5..af66bc5dc2fd222ef4bc4ba0adff6cf40a6d25f0 100755 (executable)
@@ -9,6 +9,13 @@ test -x "$loc/usage" || exit 1
 test "$SED" || SED=sed
 test "$DD" || DD=dd
 
+# Some people were bitten by their system lacking a (proper) od
+od -v -t x1 </dev/null >/dev/null
+if test $? != 0; then
+       echo 'od tool is not installed or cannot accept "-v -t x1" options'
+       exit 1
+fi
+
 exec >"$target.$$"
 
 echo '#define UNPACKED_USAGE "" \'