fix openrc init script
This commit is contained in:
@@ -40,7 +40,7 @@ start_pre() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
stop_pre() {
|
stop_pre() {
|
||||||
if [ "${RC_CMD}" != "restart" ]; then
|
if [ "${RC_CMD}" == "restart" ]; then
|
||||||
checkconfig || return $?
|
checkconfig || return $?
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user