summaryrefslogtreecommitdiffstats
path: root/etc/rc.update_bogons.sh
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.update_bogons.sh')
-rwxr-xr-xetc/rc.update_bogons.sh4
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
OpenPOWER on IntegriCloud