diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2007-07-06 21:07:48 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2007-07-06 21:07:48 +0000 |
commit | 116880408f7af303b5e3cef40af4590605375759 (patch) | |
tree | 1a2c326f6f60adb56f0a3978397beea67ea19f3c /usr/local/bin | |
parent | ff46cd46c70f00d65b063ecce8a9cace31f46d76 (diff) | |
download | pfsense-116880408f7af303b5e3cef40af4590605375759.zip pfsense-116880408f7af303b5e3cef40af4590605375759.tar.gz |
MFC IPSEC fixes from seth, this should properly reload and handle large
configs > 300 tunnels.
Diffstat (limited to 'usr/local/bin')
-rwxr-xr-x | usr/local/bin/slowdownpipe.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/usr/local/bin/slowdownpipe.sh b/usr/local/bin/slowdownpipe.sh new file mode 100755 index 0000000..88be614 --- /dev/null +++ b/usr/local/bin/slowdownpipe.sh @@ -0,0 +1,9 @@ +#!/bin/sh +# Illustrates use of a while loop to read a file + +cat - | \ +while read line +do + echo "$line" + sleep 0.005 +done |