From d89ef8bc563079a528997779c4d5ef6e0a49e4cb Mon Sep 17 00:00:00 2001 From: Rob Zimmerman Date: Tue, 3 Sep 2013 09:55:14 -0400 Subject: [PATCH] Change full comparison to [[ ]] notation to fix warning --- relaymyhome | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/relaymyhome b/relaymyhome index 3d230ca..e9f3c85 100755 --- a/relaymyhome +++ b/relaymyhome @@ -20,7 +20,7 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. -# RelayMyHome -- v. 0.4 +# RelayMyHome -- v. 0.5 # by Rob Zimmerman (https://www.github.com/taintedzodiac) # View the original source, readme, and license at https://github.com/taintedzodiac/relaymyhome # Tested in OS X 10.8 (Mountain Lion) @@ -39,7 +39,7 @@ cleanup() networksetup -setairportpower $wifi off networksetup -setairportpower $wifi on - echo "Cycling of Relays has completed, MAC address reverted.\n" + echo "Cycling of Relays has completed, MAC address reverted." } ctrl_c() @@ -54,7 +54,7 @@ ctrl_c() # trap keyboard interrupt (control-c) or unexpected quit trap ctrl_c SIGINT SIGTERM -if [ $1 == "full" ] +if [[ $1 == "full" ]] then # Generate a full list of 160 MACs when "full" mode is specified # To use full mode: ./relaymyhome full