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:
654 bytes
|
Line | |
---|
1 | #
|
---|
2 | #
|
---|
3 | # Read by /usr/local/sbin/wireless-up.pl
|
---|
4 | #
|
---|
5 | # config Proxy97 bij Plantsoen 97
|
---|
6 | #
|
---|
7 | #
|
---|
8 |
|
---|
9 | $master_ip='172.17.169.66';
|
---|
10 | $gateway='10.0.1.1';
|
---|
11 | $internalroute='172.17.169.65';
|
---|
12 | $internalif='sis1';
|
---|
13 | $nodetype='Proxy';
|
---|
14 | $nodename='Proxy97';
|
---|
15 | $proxyid='97';
|
---|
16 | $location="CeTIM office, Plantsoen 97, 2311 KL, Leiden";
|
---|
17 | $status='up';
|
---|
18 | $release="8.0-RELEASE";
|
---|
19 | $X='94042';
|
---|
20 | $Y='463238';
|
---|
21 |
|
---|
22 | $config{'sis0'}=sprintf <<SIS0;
|
---|
23 | COMMENT=link naar router
|
---|
24 | TYPE=ethernet
|
---|
25 | IP=10.0.1.100/24
|
---|
26 | DESC=naar router
|
---|
27 | SDESC=uplink
|
---|
28 | DHCP=no
|
---|
29 | SIS0
|
---|
30 |
|
---|
31 | $config{'sis1'}=sprintf <<SIS1;
|
---|
32 | COMMENT=link naar NodePlantsoen2
|
---|
33 | TYPE=ethernet
|
---|
34 | IP=$master_ip/28
|
---|
35 | DESC=Link naar NodePlantsoen2
|
---|
36 | SDESC=downlink
|
---|
37 | DHCP=no
|
---|
38 | SIS1
|
---|
Note:
See
TracBrowser
for help on using the repository browser.