diff options
author | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-01-24 11:31:23 +0000 |
---|---|---|
committer | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-01-24 11:31:23 +0000 |
commit | 39caa68329ed3f33188869183a58b03bc1583642 (patch) | |
tree | e7ac366672869c4a613cc7f0c8dfcceeeff3563c /package/ltq-dsl-app/files/ifx_cpe_control_init.sh | |
parent | 3ea7ce520057866773484edb1d6928f98665378e (diff) |
[lantiq] 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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29881 3c298f89-4303-0410-b956-a3cf2f4a3e73
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.sh | 21 |
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 91316938c..000000000 --- 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 - } - -} |