diff --git a/setup_bridge.sh b/setup_bridge.sh index 537284a..b1bd28c 100755 --- a/setup_bridge.sh +++ b/setup_bridge.sh @@ -17,11 +17,11 @@ PARAMETTER available OPTION available - --add-br-id= Set the name for the new bridge interface, usually it is br0, br1, etc - --rm-br-id= Remove a bridge interface. Be carefull, it do no verification wheither bridge-id is a real interface or a bridge interface. + --addbridge= Set the name for the new bridge interface, usually it is br0, br1, etc + --rmbridge= Remove a bridge interface. Be carefull, it do no verification wheither bridge-id is a real interface or a bridge interface. --addr=
Set an external address on the bridge. The external is the one accessible from the host. " -Version="1.0.1" +Version="1.1.1" add_bridge() { @@ -89,12 +89,12 @@ fi # detect the options for i in $@; do case "${i%=*}" in - "--add-br-id") + "--addbridge") bridge="${i#*=}" echo "${bridge}" add_bridge ;; - "--rm-br-id") + "--rmbridge") bridge="${i#*=}" echo "${bridge}" rm_bridge