diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-07-06 21:08:29 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-07-06 21:08:29 +0000 |
commit | 205744b18d940914b80d1c914eb462d90382f2a5 (patch) | |
tree | 1bc265c82bd3444ea810a0faf8aaf6c1790df975 /etc/rc.update_bogons.sh | |
parent | e15be9c5b170642afbae6098c995d1cf9c70367f (diff) | |
download | pfsense-205744b18d940914b80d1c914eb462d90382f2a5.zip pfsense-205744b18d940914b80d1c914eb462d90382f2a5.tar.gz |
Simplify (and really) sleep correctly to avoid hammering files.pfsense.org
Diffstat (limited to 'etc/rc.update_bogons.sh')
-rwxr-xr-x | etc/rc.update_bogons.sh | 4 |
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 |