diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-08-20 00:06:15 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-08-20 00:06:15 -0400 |
commit | 5769ba0ae2133eed1c0faaac44037ea0e480e976 (patch) | |
tree | 1349fdf0cebce2bd27e02e8a30f82bf97636876e /etc | |
parent | e97076a5ce860b924afc62d0309b288d45a7c705 (diff) | |
download | pfsense-5769ba0ae2133eed1c0faaac44037ea0e480e976.zip pfsense-5769ba0ae2133eed1c0faaac44037ea0e480e976.tar.gz |
Only echo out when we are sleeping
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc.update_bogons.sh | 3 |
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 |