summaryrefslogtreecommitdiffstats
path: root/usr/local/bin
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2007-07-06 21:07:48 +0000
committerSeth Mos <seth.mos@xs4all.nl>2007-07-06 21:07:48 +0000
commit116880408f7af303b5e3cef40af4590605375759 (patch)
tree1a2c326f6f60adb56f0a3978397beea67ea19f3c /usr/local/bin
parentff46cd46c70f00d65b063ecce8a9cace31f46d76 (diff)
downloadpfsense-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-xusr/local/bin/slowdownpipe.sh9
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
OpenPOWER on IntegriCloud