Initial commit
This commit is contained in:
26
target/linux/rb532/base-files/etc/config/network
Normal file
26
target/linux/rb532/base-files/etc/config/network
Normal file
@@ -0,0 +1,26 @@
|
||||
# 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 type bridge
|
||||
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
|
||||
17
target/linux/rb532/base-files/etc/diag.sh
Normal file
17
target/linux/rb532/base-files/etc/diag.sh
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user