Changeset 29881


Ignore:
Timestamp:
2012-01-24T12:31:23+01:00 (6 years ago)
Author:
blogic
Message:

[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@…>

Location:
trunk/package/ltq-dsl-app
Files:
2 added
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/ltq-dsl-app/Config.in

    r28406 r29881  
    1 config LTQ_DSL_ENABLE_CLI 
    2         bool "Enable CLI support" 
     1config LTQ_DSL_ENABLE_SOAP 
     2        bool "Enable SOAP support" 
    33        depends on PACKAGE_ltq-dsl-app 
    44        default n 
  • trunk/package/ltq-dsl-app/Makefile

    r28406 r29881  
    1818 
    1919PKG_CONFIG_DEPENDS:=\ 
    20         CONFIG_LTQ_DSL_ENABLE_CLI \ 
     20        CONFIG_LTQ_DSL_ENABLE_SOAP \ 
    2121        CONFIG_LTQ_DSL_ENABLE_DSL_EVENT_POLLING 
    2222 
     
    5656        --enable-debug-prints \ 
    5757        --enable-add-appl-cflags="-DMAX_CLI_PIPES=2" \ 
     58        --enable-cli-support \ 
    5859        --enable-cmv-scripts \ 
    5960        --enable-debug-tool-interface \ 
     
    7374        --enable-dsl-pm-optional-parameters 
    7475 
    75 ifeq ($(CONFIG_LTQ_DSL_ENABLE_CLI),y) 
     76ifeq ($(CONFIG_LTQ_DSL_ENABLE_SOAP),y) 
    7677CONFIGURE_ARGS += \ 
    77         --enable-cli-support \ 
    7878        --enable-soap-support 
    7979endif 
     
    8888define Package/ltq-dsl-app/install 
    8989        $(INSTALL_DIR) $(1)/etc/init.d 
    90         $(INSTALL_BIN) ./files/ifx_cpe_control_init.sh $(1)/etc/init.d/ 
     90        $(INSTALL_BIN) ./files/dsl_control $(1)/etc/init.d/ 
    9191 
    9292        $(INSTALL_DIR) $(1)/sbin 
    9393        $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/dsl_cpe_control $(1)/sbin 
     94        $(INSTALL_BIN) ./files/dsl_notify.sh $(1)/sbin 
    9495endef 
    9596 
Note: See TracChangeset for help on using the changeset viewer.