fixes checkconfig in open-rc init file
This commit is contained in:
parent
b013451c4c
commit
b43c287900
@ -21,6 +21,7 @@ checkconfig() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
|
checkconfig || return 1
|
||||||
ebegin "Starting $description for $CONF"
|
ebegin "Starting $description for $CONF"
|
||||||
/usr/local/bin/wg-quicker up "$CONF"
|
/usr/local/bin/wg-quicker up "$CONF"
|
||||||
eend $? "Failed to start $description for $CONF"
|
eend $? "Failed to start $description for $CONF"
|
||||||
|
Loading…
Reference in New Issue
Block a user