[OpenWrt-Devel] [PATCH] oxnas: fix the incorrect board names

Daniel Golle daniel at makrotopia.org
Thu Nov 26 21:12:17 EST 2015


Somehow it seems like the wrong patch got committed instead of this
one...

On Sun, Nov 22, 2015 at 02:35:30PM +0100, Daniel Golle wrote:
> On Sun, Nov 08, 2015 at 04:12:30AM +0800, Shonn Lu wrote:
> > Signed-off-by: Shonn Lu <countrysideboy at qq.com>
> Acked-by: Daniel Golle <daniel at makrotopia.org>
> 
> > ---
> >  target/linux/oxnas/base-files/etc/board.d/01_leds | 2 +-
> >  target/linux/oxnas/base-files/etc/diag.sh         | 4 ++--
> >  target/linux/oxnas/base-files/lib/oxnas.sh        | 6 +++---
> >  3 files changed, 6 insertions(+), 6 deletions(-)
> > 
> > diff --git a/target/linux/oxnas/base-files/etc/board.d/01_leds b/target/linux/oxnas/base-files/etc/board.d/01_leds
> > index 17e37cd..f075764 100755
> > --- a/target/linux/oxnas/base-files/etc/board.d/01_leds
> > +++ b/target/linux/oxnas/base-files/etc/board.d/01_leds
> > @@ -14,7 +14,7 @@ case $board in
> >  	kd20)
> >  		ucidef_set_led_default "power" "power" "kd20:blue:status" "1"
> >  		;;
> > -	pogoplugpro | pogoplugv3)
> > +	pogoplug-pro | pogoplug-v3)
> >  		ucidef_set_led_default "power" "power" "pogoplug:blue:internal" "1"
> >  		;;
> >  
> > diff --git a/target/linux/oxnas/base-files/etc/diag.sh b/target/linux/oxnas/base-files/etc/diag.sh
> > index 5370696..8f484ae 100644
> > --- a/target/linux/oxnas/base-files/etc/diag.sh
> > +++ b/target/linux/oxnas/base-files/etc/diag.sh
> > @@ -6,13 +6,13 @@
> >  
> >  get_status_led() {
> >  	case $(oxnas_board_name) in
> > -	stg212)
> > +	stg-212)
> >  		status_led="zyxel:blue:status"
> >  		;;
> >  	kd20)
> >  		status_led="kd20:blue:status"
> >  		;;
> > -	pogoplugpro | pogoplugv3)
> > +	pogoplug-pro | pogoplug-v3)
> >  		status_led="pogoplug:blue:internal"
> >  		;;
> >  	esac
> > diff --git a/target/linux/oxnas/base-files/lib/oxnas.sh b/target/linux/oxnas/base-files/lib/oxnas.sh
> > index 1a04d55..2a07928 100755
> > --- a/target/linux/oxnas/base-files/lib/oxnas.sh
> > +++ b/target/linux/oxnas/base-files/lib/oxnas.sh
> > @@ -14,16 +14,16 @@ oxnas_board_detect() {
> >  
> >  	case "$machine" in
> >  	*"MitraStar Technology Corp. STG-212"*)
> > -		name="stg212"
> > +		name="stg-212"
> >  		;;
> >  	*"Shuttle KD20"*)
> >  		name="kd20"
> >  		;;
> >  	*"Pogoplug Pro"*)
> > -		name="pogoplugpro"
> > +		name="pogoplug-pro"
> >  		;;
> >  	*"Pogoplug V3"*)
> > -		name="pogoplugv3"
> > +		name="pogoplug-v3"
> >  		;;
> >  	esac
> >  
> > -- 
> > 1.9.1
> > _______________________________________________
> > openwrt-devel mailing list
> > openwrt-devel at lists.openwrt.org
> > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list