]> git.ipfire.org Git - people/ms/rstp.git/blobdiff - bridge-stp
Fix rstpctl usage
[people/ms/rstp.git] / bridge-stp
index 49d5a414ee03ae7aa75154c71beb13c3d4d481ba..5e663a96f0e01d4006fb3a27bb92cff0ac538512 100755 (executable)
@@ -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}"