From 9673462aa3f5ea4d00f521e4679158107a5636b5 Mon Sep 17 00:00:00 2001 From: tastytea Date: Fri, 25 Nov 2022 16:11:26 +0100 Subject: [PATCH] net-im/mjolnir: fix init script MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I'm sure the check worked before, but now it fails? 😕 Signed-off-by: tastytea --- net-im/mjolnir/files/mjolnir.initd | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/net-im/mjolnir/files/mjolnir.initd b/net-im/mjolnir/files/mjolnir.initd index 15a6d93..748cbbc 100644 --- a/net-im/mjolnir/files/mjolnir.initd +++ b/net-im/mjolnir/files/mjolnir.initd @@ -17,10 +17,11 @@ depend() { need net } -start_pre() { - local cfg=/opt/mjolnir/config/production.yaml - if [[ -f ${cfg} ]]; then - echo "${cfg} does not exist or is not a regular file" >&2 - return 1 - fi -} +# doesn't work all of a sudden for some reason +# start_pre() { +# local cfg=/opt/mjolnir/config/production.yaml +# if [[ -f ${cfg} ]]; then +# echo "${cfg} does not exist or is not a regular file" >&2 +# return 1 +# fi +# }