From: Michael Tremer Date: Fri, 18 Nov 2011 15:08:01 +0000 (+0000) Subject: bridge-stp: Use internal service functions for controlling mstpd. X-Git-Tag: 004~95 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6543e51116150b864c2003d39b48b20c8ff3f306;p=network.git bridge-stp: Use internal service functions for controlling mstpd. --- diff --git a/bridge-stp b/bridge-stp index b00c280c..823a5d96 100755 --- a/bridge-stp +++ b/bridge-stp @@ -25,7 +25,7 @@ . /lib/network/functions -systemctl is-active mstpd.service >/dev/null 2>&1 || +service_is_active mstpd || \ log ERROR "mstpd is not running. STP might not work." exit 0