Created
September 4, 2012 15:05
-
-
Save user454322/3622099 to your computer and use it in GitHub Desktop.
Script to automatically authenticate with leo-net.jp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sleep 7 | |
/usr/bin/wget --http-user="5550156" --http-passwd="5555258" --proxy-user="5550156" --proxy-password="555258" --output-document=/dev/null --append-output=/var/log/leonet http://google.com | |
exit 0 | |
#This script is located at /usr/local/bin/leonet | |
# | |
# then on /etc/rc.local, add this line | |
# /usr/local/bin/leonet | |
# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment