summaryrefslogtreecommitdiffstats
path: root/etc/rc.update_bogons.sh
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-08-20 00:06:15 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-08-20 00:06:15 -0400
commit5769ba0ae2133eed1c0faaac44037ea0e480e976 (patch)
tree1349fdf0cebce2bd27e02e8a30f82bf97636876e /etc/rc.update_bogons.sh
parente97076a5ce860b924afc62d0309b288d45a7c705 (diff)
downloadpfsense-5769ba0ae2133eed1c0faaac44037ea0e480e976.zip
pfsense-5769ba0ae2133eed1c0faaac44037ea0e480e976.tar.gz
Only echo out when we are sleeping
Diffstat (limited to 'etc/rc.update_bogons.sh')
-rwxr-xr-xetc/rc.update_bogons.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/rc.update_bogons.sh b/etc/rc.update_bogons.sh
index f1c1e7e..19e2df6 100755
--- a/etc/rc.update_bogons.sh
+++ b/etc/rc.update_bogons.sh
@@ -9,10 +9,9 @@ echo "rc.update_bogons.sh is starting up." | logger
# 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
-
# Sleep for that time, unless an argument is specified.
if [ "$1" = "" ]; then
+ echo "rc.update_bogons.sh is sleeping for $value" | logger
sleep $value
fi
OpenPOWER on IntegriCloud