summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xetc/rc.update_bogons.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.update_bogons.sh b/etc/rc.update_bogons.sh
index 71e592e..ec89ec2 100755
--- a/etc/rc.update_bogons.sh
+++ b/etc/rc.update_bogons.sh
@@ -6,8 +6,8 @@
echo "rc.update_bogons.sh is starting up." | logger
-# Grab a random value
-value=`od -A n -d -N2 /dev/random | awk '{print int(($1/65536)*8000)}'`
+# Grab a random value
+value=`od -A n -d -N2 /dev/random | awk '{ print $1 }'
echo "rc.update_bogons.sh is sleeping for $value" | logger
OpenPOWER on IntegriCloud