]> git.ipfire.org Git - network.git/commitdiff
bridge-stp: Use internal service functions for controlling mstpd.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 18 Nov 2011 15:08:01 +0000 (15:08 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 18 Nov 2011 15:08:01 +0000 (15:08 +0000)
bridge-stp

index b00c280c7bab98028c58b4bf7ee7213a7e19729f..823a5d96b119358f66d29d131d220596649dd4df 100755 (executable)
@@ -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