diff options
Diffstat (limited to 'etc/rc.update_bogons.sh')
-rwxr-xr-x | etc/rc.update_bogons.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/rc.update_bogons.sh b/etc/rc.update_bogons.sh index 19e2df6..980d047 100755 --- a/etc/rc.update_bogons.sh +++ b/etc/rc.update_bogons.sh @@ -11,7 +11,9 @@ value=`od -A n -d -N2 /dev/random | awk '{ print $1 }'` # Sleep for that time, unless an argument is specified. if [ "$1" = "" ]; then - echo "rc.update_bogons.sh is sleeping for $value" | logger + if [ ! -f /var/run/donotsleep_bogons ]; then + echo "rc.update_bogons.sh is sleeping for $value" | logger + fi sleep $value fi |