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.
|
-
Property svn:eol-style
set to
native
|
File size:
769 bytes
|
Line | |
---|
1 |
|
---|
2 | #
|
---|
3 | #
|
---|
4 | # Read by /usr/local/sbin/wireless-up.pl
|
---|
5 | #
|
---|
6 | # config Proxy1 (Bij NodeCope)";
|
---|
7 |
|
---|
8 | $master_ip='172.17.8.68';
|
---|
9 | $gateway='83.162.36.91';
|
---|
10 | $internalroute='172.17.8.66';
|
---|
11 | $internalif='sis1';
|
---|
12 | $nodetype='Proxy';
|
---|
13 | $nodename='Proxy1';
|
---|
14 | $proxyid='1';
|
---|
15 | $location = "Cope, Rapenburg 8, 2311 EV,Leiden";
|
---|
16 | $status='up';
|
---|
17 | $release="8.0-RELEASE";
|
---|
18 | $X='093280';
|
---|
19 | $Y='463889';
|
---|
20 |
|
---|
21 | $config{'sis0'}=sprintf <<SIS0;
|
---|
22 | COMMENT=Ethernet
|
---|
23 | TYPE=ethernet
|
---|
24 | IP=83.162.36.91/24
|
---|
25 | DESC=link naar internet
|
---|
26 | SDESC=uplink
|
---|
27 | DHCP=no
|
---|
28 | SIS0
|
---|
29 |
|
---|
30 | $config{'sis1'}=sprintf <<SIS1;
|
---|
31 | COMMENT=link naar NodeCope
|
---|
32 | TYPE=ethernet
|
---|
33 | IP=$master_ip/28
|
---|
34 | DESC=Link naar NodeCope
|
---|
35 | SDESC=downlink
|
---|
36 | DHCP=no
|
---|
37 | SIS1
|
---|
Note:
See
TracBrowser
for help on using the repository browser.