Browse Source

knxd: add init file

Signed-off-by: Othmar Truniger <github@truniger.ch>
lilik-openwrt-22.03
Othmar Truniger 10 years ago
parent
commit
f2bdf8e63f
1 changed files with 22 additions and 0 deletions
  1. +22
    -0
      net/knxd/files/knxd.init

+ 22
- 0
net/knxd/files/knxd.init View File

@ -0,0 +1,22 @@
#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
START=90
STOP=20
NAME=knxd
PROG=/usr/bin/$NAME
. /lib/functions.sh
start() {
local options url
config_load "$NAME"
config_get options args options ''
config_get url args url
service_start $PROG $options $url
}
stop() {
service_stop $PROG
}

Loading…
Cancel
Save