diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-08-20 00:03:43 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-08-20 00:03:43 -0400 |
commit | 5de281718086f9508239f664a8af4495cc320be0 (patch) | |
tree | 8afc9922e9d543dcf46fd656c60786e61c7d77c1 /etc | |
parent | 83c56e9c0cc9ce4b941f43f4fd5b3d4b08e962b6 (diff) | |
download | pfsense-5de281718086f9508239f664a8af4495cc320be0.zip pfsense-5de281718086f9508239f664a8af4495cc320be0.tar.gz |
Do not sleep if an argument is passed
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc.update_bogons.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.update_bogons.sh b/etc/rc.update_bogons.sh index 469ef70..f1c1e7e 100755 --- a/etc/rc.update_bogons.sh +++ b/etc/rc.update_bogons.sh @@ -12,7 +12,7 @@ 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 +if [ "$1" = "" ]; then sleep $value fi |