From b9d8cc51efbf8d1b2403d0087c967262b7a31a70 Mon Sep 17 00:00:00 2001 From: Seth Mos Date: Wed, 4 Jul 2007 12:11:30 +0000 Subject: Fix loading and reloading config for IPSEC. MFC: Possible candidate, works for seth. Needs test. --- usr/local/bin/slowdownpipe.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 usr/local/bin/slowdownpipe.sh (limited to 'usr/local/bin') 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 -- cgit v1.1