mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
linknx: improve init script
Signed-off-by: Othmar Truniger <github@truniger.ch>
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user