rb532: add wan interface
[openwrt/svn-archive/archive.git] / target / linux / rb532 / base-files / etc / diag.sh
1 #!/bin/sh
2 # Copyright (C) 2007-2013 OpenWrt.org
3
4 . /lib/functions/leds.sh
5
6 status_led="rb500led:amber"
7
8 set_state() {
9 case "$1" in
10 preinit)
11 status_led_on
12 ;;
13 done)
14 status_led_off
15 ;;
16 esac
17 }