repo.or.cz
/
aur-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git]
/
speedtch
/
speedtch.hotplug
blob
2cfd7491df6503151fa7e9b3d36422d0f60a70b9
1
#!/bin/sh
2
case
$ACTION
in
3
add
)
4
if
[[ !
-z
"
$SEQNUM
"
-a
!
-f
/
tmp
/
bla
]];
then
5
sleep
1
;
6
/
usr
/
sbin
/
pppd call speedtch
&> /
tmp
/
bla
;
7
echo -e
"---
$SEQNUM
---
\n
$DEVPATH
"
>> /
tmp
/
bla
;
8
fi
9
;;
10
*)
11
echo -n
"speedtch unknown action:
$ACTION
"
>> /
tmp
/
unknown-action
;
12
esac