Skip to content

Commit

Permalink
Whitespace fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
westphae committed Jul 20, 2017
1 parent 57a1bd9 commit ef3c8d5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions image/hostapd_manager_quiet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# STRATUX QUIET HOSTAPD MANAGE #
######################################################################
# This script is almost identical to hostapd_manager.sh except all the
# screen outputs are supplressed except for error messages.
# screen outputs are supplressed except for error messages.
#
# Usage:
# hostapd_manager_quiet.sh -s Stratux-N12345 -p SquawkDirty! -c 5
Expand Down Expand Up @@ -127,7 +127,7 @@ while getopts $options option; do
\?) # invalid option
error_exit "Invalid option -$OPTARG"
;;
:) # Missing Arg
:) # Missing Arg
error_exit "Missing option for argument -$OPTARG"
;;
*) # Invalid
Expand Down Expand Up @@ -221,17 +221,17 @@ do
sed -i "s/^#wpa_pairwise=.*/#wpa_pairwise=TKIP/" ${i}
sed -i "s/^#rsn_pairwise=.*/#rsn_pairwise=CCMP/" ${i}
else
echo "" >> ${i}
echo "#auth_algs=1" >> ${i}
echo "#wpa=3" >> ${i}
echo "#wpa_passphrase=$defaultPass" >> ${i}
echo "#wpa_key_mgmt=WPA-PSK" >> ${i}
echo "" >> ${i}
echo "#auth_algs=1" >> ${i}
echo "#wpa=3" >> ${i}
echo "#wpa_passphrase=$defaultPass" >> ${i}
echo "#wpa_key_mgmt=WPA-PSK" >> ${i}
echo "#wpa_pairwise=TKIP" >> ${i}
echo "#rsn_pairwise=CCMP" >> ${i}
echo "#rsn_pairwise=CCMP" >> ${i}
fi
fi
else
error_exit "No ${i} file found..."
error_exit "No ${i} file found..."
fi
done

Expand Down
4 changes: 2 additions & 2 deletions web/plates/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<div class="panel-body grayout">
<form name="WiFiSettings">
<div class="alert alert-info">
<strong>Notice!</strong> This feature has not been implemented... YET!
<strong>Notice!</strong> This feature has not been implemented... YET!
</div>
<div class="form-group reset-flow">
<label class="control-label col-xs-5">WiFi SSID</label>
Expand Down Expand Up @@ -236,7 +236,7 @@
</div>
<div class="form-group reset-flow">
<div class="col-xs-12">
<button class="btn btn-primary btn-block" ui-turn-on="modalReboot">Reboot</button>
<button class="btn btn-primary btn-block" ui-turn-on="modalReboot">Reboot</button>
</div>
</div>
<div class="form-group reset-flow">
Expand Down

0 comments on commit ef3c8d5

Please sign in to comment.