Skip to content

Commit

Permalink
Remove checking connection to bitsnet
Browse files Browse the repository at this point in the history
- The first login form for the wifi (the cisco one), stops from any
  request from the LMS server. The checking service is at hold for now.
coditva committed Feb 12, 2017
1 parent 739ebab commit b57dad7
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions bitsnet
Original file line number Diff line number Diff line change
@@ -45,18 +45,6 @@ debug_msg "Password: $password"
debug_msg "LoginURL: $login_url"


# Check if using bitsnet
# This is being implemented by sending a spider request to the local LMS server
debug_msg "Checking if connected to bitsnet"
if ! wget -qT 5 -t 1 --spider --no-check-certificate http://photon.bits-goa.ac.in
then
send_msg "Not connected to bitsnet"
exit
else
debug_msg "Connected to bitsnet"
fi


# Check if already logged in
debug_msg "Checking if already connected"
if wget -qT 5 -t 1 --spider --no-check-certificate https://google.com

0 comments on commit b57dad7

Please sign in to comment.