summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.update_bogons.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.update_bogons.sh b/etc/rc.update_bogons.sh
index 213df7b..957a52b 100755
--- a/etc/rc.update_bogons.sh
+++ b/etc/rc.update_bogons.sh
@@ -5,7 +5,7 @@
# www.pfsense.com
# Grab a random value
-value=`hexdump -n1 -e\"%u\" /dev/random`
+value=`od -A n -d -N2 /dev/random | awk '{print int(($1/65536)*2000)}'`
# Sleep for that time.
sleep $value
OpenPOWER on IntegriCloud