repo.or.cz
/
dragonfly.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
led(4): Turn this into a module. Only used by acpi_thinkpad and acpi_asus.
[dragonfly.git]
/
usr.bin
/
tip
/
dial.sh
blob
ed30da59ed2b3a0f475c3ea2cd92141e8ac65b3f
1
#!/bin/sh
2
#
3
# @(#)dial.sh -- dialup remote using tip
4
#
5
6
#set -x
7
8
if
[
$#
-lt
1
] ;
then
9
echo
"
$0
: not enough arguments"
1
>&
2
10
exit
1
11
fi
12
13
x
=
0
14
15
while
!
tip $
* &&
test
$x
-lt
3
16
do
17
sleep
5
18
x
=
$
((
$x
+
1
))
19
done
20
21
exit
0