From 9b4661755a585d4eec0b2c215ebca586fcde1f1b Mon Sep 17 00:00:00 2001 From: Rahul <rahul.thakur@iopsys.eu> Date: Tue, 2 Jun 2020 14:29:37 +0530 Subject: [PATCH] brcm63xx: change fiber to wanconf also update db for panther and tiger --- .../base-files/lib/db/boards/XG6846B | 6 +++--- .../panther/base-files/etc/init.d/wanconf | 8 ++++++++ .../tiger/base-files/etc/init.d/fiber | 15 --------------- .../tiger/base-files/etc/init.d/wanconf | 8 ++++++++ 4 files changed, 19 insertions(+), 18 deletions(-) create mode 100755 iopsys-brcm63xx-arm/panther/base-files/etc/init.d/wanconf delete mode 100755 iopsys-brcm63xx-arm/tiger/base-files/etc/init.d/fiber create mode 100755 iopsys-brcm63xx-arm/tiger/base-files/etc/init.d/wanconf diff --git a/iopsys-brcm63xx-arm/base-files/lib/db/boards/XG6846B b/iopsys-brcm63xx-arm/base-files/lib/db/boards/XG6846B index a5cd3d384..eeb5d6233 100644 --- a/iopsys-brcm63xx-arm/base-files/lib/db/boards/XG6846B +++ b/iopsys-brcm63xx-arm/base-files/lib/db/boards/XG6846B @@ -18,9 +18,9 @@ config board 'board' # Ethernet option ethernetPorts '6' option ethernetWanPort 'eth5' - option ethernetPortNames 'LAN1 LAN2 LAN3 LAN4 LAN5 WAN' - option ethernetPortOrder 'eth0 eth1 eth2 eth3 eth4 eth5' - option ethernetLanPorts 'eth0 eth1 eth2 eth3 eth4' + option ethernetPortNames 'LAN1 LAN2 LAN3 LAN4 WAN' + option ethernetPortOrder 'eth0 eth1 eth2 eth3 eth5' + option ethernetLanPorts 'eth0 eth1 eth2 eth3' option gpio_zero '0 1 3 67' option gpio_one '2 40' diff --git a/iopsys-brcm63xx-arm/panther/base-files/etc/init.d/wanconf b/iopsys-brcm63xx-arm/panther/base-files/etc/init.d/wanconf new file mode 100755 index 000000000..00d8bef49 --- /dev/null +++ b/iopsys-brcm63xx-arm/panther/base-files/etc/init.d/wanconf @@ -0,0 +1,8 @@ +#!/bin/sh /etc/rc.common + +START=15 + +boot() { + wanconf +} + diff --git a/iopsys-brcm63xx-arm/tiger/base-files/etc/init.d/fiber b/iopsys-brcm63xx-arm/tiger/base-files/etc/init.d/fiber deleted file mode 100755 index 45a5068d0..000000000 --- a/iopsys-brcm63xx-arm/tiger/base-files/etc/init.d/fiber +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh /etc/rc.common - -START=60 - -USE_PROCD=1 - -start_service() { - wanconf -} - -service_triggers() -{ - procd_add_reload_trigger network wireless -} - diff --git a/iopsys-brcm63xx-arm/tiger/base-files/etc/init.d/wanconf b/iopsys-brcm63xx-arm/tiger/base-files/etc/init.d/wanconf new file mode 100755 index 000000000..00d8bef49 --- /dev/null +++ b/iopsys-brcm63xx-arm/tiger/base-files/etc/init.d/wanconf @@ -0,0 +1,8 @@ +#!/bin/sh /etc/rc.common + +START=15 + +boot() { + wanconf +} + -- GitLab