Project

General

Profile

« Previous | Next » 

Revision cf3fb41a

Added by Scott Ullrich about 17 years ago

Simplify (and really) sleep correctly to avoid hammering files.pfsense.org

View differences:

etc/rc.update_bogons.sh
7 7
echo "rc.update_bogons.sh is starting up." | logger
8 8

  
9 9
# Grab a random value 
10
value=`od -A n -d -N2 /dev/random | awk '{print int(($1/65536)*8000)}'`
10
value=`od -A n -d -N2 /dev/random | awk '{ print $1 }'`
11 11

  
12 12
echo "rc.update_bogons.sh is sleeping for $value" | logger
13 13

  

Also available in: Unified diff