diff options
author | James <> | 2015-11-04 11:49:21 +0000 |
---|---|---|
committer | James <> | 2015-11-04 11:49:21 +0000 |
commit | 716ca530e1c4515d8683c9d5be3d56b301758b66 (patch) | |
tree | 700eb5bcc1a462a5f21dcec15ce7c97ecfefa772 /target/linux/rb532/base-files/etc | |
download | trunk-47381-716ca530e1c4515d8683c9d5be3d56b301758b66.tar.gz trunk-47381-716ca530e1c4515d8683c9d5be3d56b301758b66.tar.bz2 trunk-47381-716ca530e1c4515d8683c9d5be3d56b301758b66.zip |
Diffstat (limited to 'target/linux/rb532/base-files/etc')
-rw-r--r-- | target/linux/rb532/base-files/etc/config/network | 25 | ||||
-rw-r--r-- | target/linux/rb532/base-files/etc/diag.sh | 17 |
2 files changed, 42 insertions, 0 deletions
diff --git a/target/linux/rb532/base-files/etc/config/network b/target/linux/rb532/base-files/etc/config/network new file mode 100644 index 0000000..75a14a7 --- /dev/null +++ b/target/linux/rb532/base-files/etc/config/network @@ -0,0 +1,25 @@ +# Copyright (C) 2006 OpenWrt.org + +config interface loopback + option ifname lo + option proto static + option ipaddr 127.0.0.1 + option netmask 255.0.0.0 + +config interface wan + option ifname eth0 + option proto dhcp + +config interface lan + option ifname eth2 + option proto static + option ipaddr 192.168.1.1 + option netmask 255.255.255.0 + option ip6assign 60 + +config interface wan6 + option ifname eth0 + option proto dhcpv6 + +config globals globals + option ula_prefix auto diff --git a/target/linux/rb532/base-files/etc/diag.sh b/target/linux/rb532/base-files/etc/diag.sh new file mode 100644 index 0000000..482b8e9 --- /dev/null +++ b/target/linux/rb532/base-files/etc/diag.sh @@ -0,0 +1,17 @@ +#!/bin/sh +# Copyright (C) 2007-2013 OpenWrt.org + +. /lib/functions/leds.sh + +status_led="rb500led:amber" + +set_state() { + case "$1" in + preinit) + status_led_on + ;; + done) + status_led_off + ;; + esac +} |