From b009616cb9c87586506ad1e55fe277bac93da627 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Tue, 3 Apr 2012 08:44:48 +0100 Subject: functions: Add a SYSTEMCTL_NO_BLOCK env var --- rc.d/init.d/functions | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'rc.d') diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions index 43b3abe4..48fa2c01 100644 --- a/rc.d/init.d/functions +++ b/rc.d/init.d/functions @@ -51,7 +51,10 @@ systemctl_redirect () { esac if [ -n "$SYSTEMCTL_IGNORE_DEPENDENCIES" ] ; then - options="--ignore-dependencies" + options="$options --ignore-dependencies" + fi + if [ -n "$SYSTEMCTL_NO_BLOCK" ] ; then + options="$options --no-block" fi action "$s" /bin/systemctl $options $command "$prog.service" -- cgit v1.2.1