mirror of
https://github.com/opnsense/src.git
synced 2026-02-22 17:32:57 -05:00
fixes to many assorted bugs and misfeatures. Submitted by: Tom Gray - DCA <dcasba@rain.org>
21 lines
214 B
Bash
Executable file
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
|