line 139
This commit is contained in:
parent
0ff7a57d40
commit
75fa4ee808
@ -136,7 +136,9 @@ case "$1" in
|
||||
genconfig
|
||||
echo $$ > "$BASEDIR/var/tunnelkeeper.pid"
|
||||
# cat "$BASEDIR/etc/tunnelkeeper.conf" | awk '/^Host / {print $2}' | xargs -I% -P0 $0 FORKSTART % '#tunnelkeeper' &
|
||||
cat "$BASEDIR/etc/tunnelkeeper.conf" | awk '/^Host / {print $2}' | while read host; do forkstart $host & ; done
|
||||
cat "$BASEDIR/etc/tunnelkeeper.conf" | awk '/^Host / {print $2}' | while read host
|
||||
do forkstart $host &
|
||||
done
|
||||
;;
|
||||
stop )
|
||||
rm -f "$BASEDIR/var/tunnelkeeper.pid"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user