diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-12-04 17:42:51 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-12-04 17:42:51 +0000 |
commit | 93b848d14fa1cbc18332c6d2f485b1c1ea7ac96d (patch) | |
tree | cf3ec45aaa4fd9a48aa1519403e0c8a6bc3cd572 /package/network | |
parent | 1486ec4feec7501534c7b2be999d3eb831eafa49 (diff) | |
download | master-187ad058-93b848d14fa1cbc18332c6d2f485b1c1ea7ac96d.tar.gz master-187ad058-93b848d14fa1cbc18332c6d2f485b1c1ea7ac96d.tar.bz2 master-187ad058-93b848d14fa1cbc18332c6d2f485b1c1ea7ac96d.zip |
lantiq: move esi calls to dsl_cpe_control scripts to fix ordering wrt. loading vr9 drivers
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47764 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network')
-rw-r--r-- | package/network/config/ltq-adsl-app/files/dsl_control | 2 | ||||
-rw-r--r-- | package/network/config/ltq-vdsl-app/Makefile | 2 | ||||
-rw-r--r-- | package/network/config/ltq-vdsl-app/files/vdsl_cpe_control_wrapper | 1 |
3 files changed, 4 insertions, 1 deletions
diff --git a/package/network/config/ltq-adsl-app/files/dsl_control b/package/network/config/ltq-adsl-app/files/dsl_control index cece347b85..0c7221c24f 100644 --- a/package/network/config/ltq-adsl-app/files/dsl_control +++ b/package/network/config/ltq-adsl-app/files/dsl_control @@ -44,6 +44,8 @@ start() { return 1 } + esi $(printf '%012X' $((1+0x$(tr -d : </sys/class/net/eth0/address)))) + service_start /sbin/dsl_cpe_control -i${xtu} \ -n /sbin/dsl_notify.sh \ -f ${firmware} diff --git a/package/network/config/ltq-vdsl-app/Makefile b/package/network/config/ltq-vdsl-app/Makefile index 51c2aff9a1..db4e0bbd4e 100644 --- a/package/network/config/ltq-vdsl-app/Makefile +++ b/package/network/config/ltq-vdsl-app/Makefile @@ -26,7 +26,7 @@ define Package/ltq-vdsl-app CATEGORY:=Network TITLE:=Lantiq VDSL userland tool URL:=http://www.lantiq.com/ - DEPENDS:=@TARGET_lantiq_xrx200 +libpthread +librt + DEPENDS:=@TARGET_lantiq_xrx200 +libpthread +librt +atm-esi endef define Package/ltq-vdsl-app/description diff --git a/package/network/config/ltq-vdsl-app/files/vdsl_cpe_control_wrapper b/package/network/config/ltq-vdsl-app/files/vdsl_cpe_control_wrapper index 8e7c1cb4b8..cc127f7779 100644 --- a/package/network/config/ltq-vdsl-app/files/vdsl_cpe_control_wrapper +++ b/package/network/config/ltq-vdsl-app/files/vdsl_cpe_control_wrapper @@ -7,4 +7,5 @@ for mod in $LOAD; do grep -q "$mod " /proc/modules || insmod "$mod" done +esi $(printf '%012X' $((1+0x$(tr -d : </sys/class/net/eth0/address)))) exec /sbin/vdsl_cpe_control "$@" |