From 2145c10d1c2d8d934a2292fc6f630884c856dc01 Mon Sep 17 00:00:00 2001 From: Lukas Nykryn Date: Mon, 1 Apr 2019 17:57:43 +0200 Subject: network: don't fail with IFDOWN_ON_SHUTDOWN --- etc/rc.d/init.d/network | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc') diff --git a/etc/rc.d/init.d/network b/etc/rc.d/init.d/network index 2b874d17..e3560b64 100755 --- a/etc/rc.d/init.d/network +++ b/etc/rc.d/init.d/network @@ -198,8 +198,8 @@ stop) # as such in sysconfig if is_false "$IFDOWN_ON_SHUTDOWN"; then if systemctl is-system-running | grep -q 'stopping'; then - net_log $"system is shutting down, leaving interfaces up as requested" - exit 1 + net_log $"system is shutting down, leaving interfaces up as requested" info + exit 0 fi fi -- cgit v1.2.1