freewrt_1_0
freewrt_2_0
|
Last change
on this file since 6fc4520e was 7669240, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago |
- add a generic network init script which is using busybox ifup/ifdown
- move ifup/ifdown with nvram calls to webif package
- add specific dnsmasq.conf and startup script for dnsmasq for webif
- add version file
This unbreaks DNS/DHCP options in Webif. Even WPA/WPA2 seems possible
if you install broadcom-nas package. I have no WPA/WPA2 enabled box
or operating system to test..
tg@ will add some rc.conf checks so that either webif network
configuration is used or ifup/ifdown from busybox
git-svn-id: svn://www.freewrt.org/trunk/freewrt@673 afb5a338-a214-0410-bd46-81f09a774fd1
|
-
Property mode
set to
100755
|
|
File size:
254 bytes
|
| Line | |
|---|
| 1 | #!/bin/sh
|
|---|
| 2 | case $1 in
|
|---|
| 3 | autostart|start|restart)
|
|---|
| 4 | ifup_interfaces=$(nvram get ifup_interfaces)
|
|---|
| 5 | ifup_interfaces=${ifup_interfaces:-"lan wan wifi"}
|
|---|
| 6 | for iface in $ifup_interfaces; do
|
|---|
| 7 | ifup.nvram $iface
|
|---|
| 8 | [ "$iface" = wifi ] && wifi up
|
|---|
| 9 | done
|
|---|
| 10 | ;;
|
|---|
| 11 | esac
|
|---|
| 12 | exit 0
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.