aboutsummaryrefslogtreecommitdiffstats
path: root/package/ltq-dsl-app/files/ifx_cpe_control_init.sh
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2012-01-24 11:31:23 +0000
committerJohn Crispin <john@openwrt.org>2012-01-24 11:31:23 +0000
commita558d605ab54313e8217201b67e0dff610db0e0c (patch)
treeb6e4ee2dfbe85ad3fbf12d39bf95f5b2337e1f74 /package/ltq-dsl-app/files/ifx_cpe_control_init.sh
parent17bb00389165d2557498da449489322a200db13c (diff)
downloadupstream-a558d605ab54313e8217201b67e0dff610db0e0c.tar.gz
upstream-a558d605ab54313e8217201b67e0dff610db0e0c.tar.bz2
upstream-a558d605ab54313e8217201b67e0dff610db0e0c.zip
Initial DSL framework
- Removed ifx_cpe_control_init.sh (the old init script) - Created dsl_control (/etc/init.d) - tidied up start and stop - stop calls dsl_notify before killing daemon - has status and lucistat options to provide detail - copes with daemon not running situation - Updated package makefile to use new init script and to build cli support - Provide a dsl_notify.sh script to cope with line up/down events Signed-off-by: Lee Essen <lee.essen@nowonline.co.uk> SVN-Revision: 29881
Diffstat (limited to 'package/ltq-dsl-app/files/ifx_cpe_control_init.sh')
-rw-r--r--package/ltq-dsl-app/files/ifx_cpe_control_init.sh21
1 files changed, 0 insertions, 21 deletions
diff --git a/package/ltq-dsl-app/files/ifx_cpe_control_init.sh b/package/ltq-dsl-app/files/ifx_cpe_control_init.sh
deleted file mode 100644
index 91316938ce..0000000000
--- a/package/ltq-dsl-app/files/ifx_cpe_control_init.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh /etc/rc.common
-# Copyright (C) 2008 OpenWrt.org
-START=99
-
-start() {
-
- # start CPE dsl daemon in the background
- /sbin/dsl_cpe_control -i -f /lib/firmware/ModemHWE.bin &
-
-# PS=`ps`
-# echo $PS | grep -q dsl_cpe_control && {
-# # workaround for nfs: allow write to pipes for non-root
-# while [ ! -e /tmp/pipe/dsl_cpe1_ack ] ; do sleep 1; done
-# chmod a+w /tmp/pipe/dsl_*
-# }
- echo $PS | grep -q dsl_cpe_control || {
- echo "Start of dsl_cpe_control failed!!!"
- false
- }
-
-}