Last change
on this file since 6242 was 6242, checked in by roland, 16 years ago |
added comment about omni check.
used {% now %} in template, no need to use object.date in views.py
|
File size:
800 bytes
|
Line | |
---|
1 | # The file is WirelessLeiden specific. Please make all changes in exodus
|
---|
2 | #
|
---|
3 | # Generated on {% now "G:i j-n-Y" %}
|
---|
4 | # by {{ object.host }}
|
---|
5 | #
|
---|
6 | # Node: {{ object.name }}
|
---|
7 | # File: rc.local
|
---|
8 |
|
---|
9 | {% for nic in object %}
|
---|
10 | {% if nic.ssid %}
|
---|
11 | /usr/sbin/wicontrol -i {{ nic.iface }} -s {{ nic.shortdesc }} # Nickname
|
---|
12 | /usr/sbin/wicontrol -i {{ nic.iface }} -P 0 # PowerSave
|
---|
13 | /usr/sbin/wicontrol -i {{ nic.iface }} -Z # Zero SNR cache
|
---|
14 | /usr/sbin/wicontrol -i {{ nic.iface }} -p {{ nic.wifimode }} # {{ nic.wifidesc }}
|
---|
15 | /usr/sbin/wicontrol -i {{ nic.iface }} -c 1 # broadcasting essid on
|
---|
16 | /usr/sbin/wicontrol -i {{ nic.iface }} -n {{ nic.ssid }} # network name
|
---|
17 | /usr/sbin/wicontrol -i {{ nic.iface }} -q {{ nic.ssid }} # ESSID
|
---|
18 | /usr/sbin/wicontrol -i {{ nic.iface }} -f {{ nic.channel }} # Channel
|
---|
19 | {% endif %}
|
---|
20 | {% endfor %}
|
---|
Note:
See
TracBrowser
for help on using the repository browser.