linknx: improve init script
Signed-off-by: Othmar Truniger <github@truniger.ch>
This commit is contained in:
parent
bae1b2bfde
commit
83ddfd0d16
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ start() {
|
||||||
config_get conf args conf '/etc/linknx.xml'
|
config_get conf args conf '/etc/linknx.xml'
|
||||||
config_get options args options ''
|
config_get options args options ''
|
||||||
test -f $conf || cp -p /etc/linknx.xml.dist $conf
|
test -f $conf || cp -p /etc/linknx.xml.dist $conf
|
||||||
|
mkdir -p /tmp/$NAME/persist
|
||||||
service_start $PROG --config=$conf $options
|
service_start $PROG --config=$conf $options
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue