opnsense-src/usr.bin/tip/tip/dial.sh
Jordan K. Hubbard 18cc36fb15 Tom Gray's new tip changes to support a modem capabilities database and
fixes to many assorted bugs and misfeatures.
Submitted by:	Tom Gray - DCA <dcasba@rain.org>
1995-03-31 11:47:39 +00:00

21 lines
214 B
Bash
Executable file

#!/bin/sh
#
# @(#)dial.sh -- dialup remote using tip
#
#set -x
if [ $# -lt 1 ] ; then
echo "$0: not enough arguments" 1>&2
exit 1
fi
x=0
while ! tip $* && test $x -lt 3
do
sleep 5
x=$(($x+1))
done
exit 0