summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Yurchenko <a.yurchenko@scalaxy.ru>2010-02-19 13:27:16 +0300
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-02-19 11:10:42 -0800
commit18da741b5f843f196b7a1ba8d85da8506a1a58f6 (patch)
tree4af161a91e02d5dcd2090f699491b5631c50ed5d
parent76eb7423e188f6852ba9ced4352e0d61f4dace4d (diff)
downloadrstp-18da741b5f843f196b7a1ba8d85da8506a1a58f6.tar.gz
Fix rstpctl usage
Add missing ``rstp'' command to the rstpctl arguments. Signed-off-by: Alexander Yurchenko <a.yurchenko@scalaxy.ru>
-rwxr-xr-xbridge-stp4
1 files 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 <bridge> {start|stop}"