Skip to content

Instantly share code, notes, and snippets.

@user454322
Created September 4, 2012 15:05
Show Gist options
  • Save user454322/3622099 to your computer and use it in GitHub Desktop.
Save user454322/3622099 to your computer and use it in GitHub Desktop.
Script to automatically authenticate with leo-net.jp
#!/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