From: Don Armstrong Date: Wed, 23 Jul 2008 04:07:44 +0000 (+0000) Subject: * update cycle_wireless X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;ds=sidebyside;h=9a02931f47ea35e67a54bea2be4c4ac8f9a91d94;p=bin.git * update cycle_wireless --- diff --git a/cycle_wireless b/cycle_wireless index 7c6b350..dc949cc 100755 --- a/cycle_wireless +++ b/cycle_wireless @@ -1,15 +1,6 @@ #!/bin/sh -NETWORK="$1" -WIRELESS="$2" - -if [ -z "$NETWORK" ]; then - NETWORK="homewlan"; -fi; - -if [ -z "$WIRELESS" ]; then - WIRELESS="wireless"; -fi; +WIRELESS="$1" # First try a minor cycle @@ -35,4 +26,4 @@ if [ "$WIRELESS" == "wireless" ]; then fi; sleep 2s; fi; -sudo ifup "wireless=${NETWORK}"; +sudo ifup "wireless";