git://git.jankratochvil.net
/
nethome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e66340e
)
Fixed charging by passing config vars inside pppd(8) 'connect' script.
author
short
<>
Fri, 11 Jul 2003 06:45:23 +0000
(06:45 +0000)
committer
short
<>
Fri, 11 Jul 2003 06:45:23 +0000
(06:45 +0000)
bin/line9k
patch
|
blob
|
history
diff --git
a/bin/line9k
b/bin/line9k
index
55aa27c
..
05a4c70
100755
(executable)
--- a/
bin/line9k
+++ b/
bin/line9k
@@
-146,8
+146,11
@@
exec pppd "$PORT" "$BAUD" modem lock $OPTIONS $LOCAL_IP:$REMOTE_IP ms-dns "$NS"
if '$CHARGE';then
charge_arr=(0 25 50 75 100);
charge_val=${charge_arr[$[$rc-4]]};
+ charge_force_le='$charge_force_le';
charge_limit_gt=99;
+ max_limit_time='$max_limit_time';
baud=$baud_last;
+ charge_ttyS='$charge_ttyS';
if test -f $charge_ttyS.charge;then
baud=nocontrol;
else