netisr: Use netisr_ncpus to convert hash to cpuid.
[dragonfly.git] / usr.bin / tip / dial.sh
blobed30da59ed2b3a0f475c3ea2cd92141e8ac65b3f
1 #!/bin/sh
3 # @(#)dial.sh -- dialup remote using tip
6 #set -x
8 if [ $# -lt 1 ] ; then
9 echo "$0: not enough arguments" 1>&2
10 exit 1
13 x=0
15 while ! tip $* && test $x -lt 3
17 sleep 5
18 x=$(($x+1))
19 done
21 exit 0