You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
351 B

  1. #!/bin/sh /etc/rc.common
  2. # Copyright (C) 2006 OpenWrt.org
  3. START=98
  4. STOP=20
  5. NAME=knxd
  6. PROG=/usr/bin/$NAME
  7. . /lib/functions.sh
  8. start() {
  9. local options url
  10. config_load "$NAME"
  11. config_get options args options ''
  12. config_get url args url
  13. service_start $PROG $options $url
  14. }
  15. stop() {
  16. service_stop $PROG
  17. }