#!/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
fi;
sleep 2s;
fi;
-sudo ifup "wireless=${NETWORK}";
+sudo ifup "wireless";