mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Reflect new LINE env variable addition
This commit is contained in:
parent
13811ba072
commit
7cb763927f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=10796
@ -2,7 +2,14 @@
|
||||
myname=<my.ip.address>
|
||||
gateway=<gateway.ip.address>
|
||||
netmask=255.255.255.248
|
||||
tune="link0 -link2" # links means force compression
|
||||
tune1="link0 -link2" # force headers compression
|
||||
tune2="mtu 296" # for FreeBSD 1.x host
|
||||
|
||||
case $LINE in
|
||||
0) tune=$tune1;; # 1st phone connected
|
||||
1) tune=$tune2;; # 2nd phone connected
|
||||
*) tune=;; # others
|
||||
esac
|
||||
|
||||
/sbin/ifconfig $1 $2 $tune
|
||||
/sbin/ifconfig $1 inet $myname $gateway netmask $netmask
|
||||
|
Loading…
Reference in New Issue
Block a user