From 18da741b5f843f196b7a1ba8d85da8506a1a58f6 Mon Sep 17 00:00:00 2001 From: Alexander Yurchenko Date: Fri, 19 Feb 2010 13:27:16 +0300 Subject: [PATCH] Fix rstpctl usage Add missing ``rstp'' command to the rstpctl arguments. Signed-off-by: Alexander Yurchenko --- bridge-stp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bridge-stp b/bridge-stp index 49d5a41..5e663a9 100755 --- a/bridge-stp +++ b/bridge-stp @@ -53,9 +53,9 @@ start() { case $2 in start) daemon - exec /sbin/rstpctl $bridge on ;; + exec /sbin/rstpctl rstp $bridge on ;; stop) - exec /sbin/rstpctl $bridge off ;; + exec /sbin/rstpctl rstp $bridge off ;; *) echo "Unknown action:" $2 echo "Usage: bridge-stp {start|stop}" -- 2.39.2