This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
openwrt-packages-dist
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
linknx: add init file
Signed-off-by: Othmar Truniger <github@truniger.ch>
lilik-openwrt-22.03
Othmar Truniger
10 years ago
parent
d2c7bf32ae
commit
c7e53198ae
1 changed files
with
22 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+22
-0
net/linknx/files/linknx.init
+ 22
- 0
net/linknx/files/linknx.init
View File
@ -0,0 +1,22 @@
#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
START=98
STOP=10
NAME=linknx
PROG=/usr/bin/$NAME
. /lib/functions.sh
start() {
local conf options
config_load "$NAME"
config_get conf args conf '/etc/linknx.xml'
config_get options args options ''
test -f $conf || cp -p /etc/linknx.xml.dist $conf
service_start $PROG --config=$conf $options
}
stop() {
service_stop $PROG
}
Write
Preview
Loading…
Cancel
Save