Last change
on this file since 8261 was 8261, checked in by rick, 14 years ago |
- Commented variables are kind of useless as no program will be able to parse
them. So made them 'active'
- The text behind the $config proves to be a more usefull description than the
normal DESC field, pushed them into a variable called COMMENT so we can
finally start using them.
- Commented code is in general bad stuff with a revision control system as it
clutters the view, made the non active interface just 'idle' active.
|
File size:
641 bytes
|
Line | |
---|
1 | #
|
---|
2 | #
|
---|
3 | # Read by /usr/local/sbin/wireless-up.pl
|
---|
4 | #
|
---|
5 | # config Proxy9 bij De Clercq
|
---|
6 | #
|
---|
7 |
|
---|
8 | $master_ip='172.16.4.54';
|
---|
9 | $gateway='192.168.1.1';
|
---|
10 | $internalroute='172.16.4.53';
|
---|
11 | $internalif='sis1';
|
---|
12 | $nodetype='Proxy';
|
---|
13 | $nodename='Proxy9';
|
---|
14 | $proxyid='9';
|
---|
15 | $location="kantoor De Clercq, Hoge Rijndijk 306, 2314AM Leiden";
|
---|
16 | $status='up';
|
---|
17 | $release="8.0-RELEASE";
|
---|
18 | $X='95694';
|
---|
19 | $Y='462845';
|
---|
20 |
|
---|
21 | $config{'sis0'}=sprintf <<SIS0;
|
---|
22 | COMMENT=Link naar Router
|
---|
23 | TYPE=ethernet
|
---|
24 | IP=192.168.1.100/24
|
---|
25 | DESC=Link naar Router
|
---|
26 | SDESC=uplink
|
---|
27 | DHCP=no
|
---|
28 | SIS0
|
---|
29 |
|
---|
30 | $config{'sis1'}=sprintf <<SIS1;
|
---|
31 | COMMENT=Link naar Node
|
---|
32 | TYPE=ethernet
|
---|
33 | IP=$master_ip/30
|
---|
34 | DESC=Link naar Node
|
---|
35 | SDESC=downlink
|
---|
36 | DHCP=no
|
---|
37 | SIS1
|
---|
Note:
See
TracBrowser
for help on using the repository browser.