Created
April 15, 2015 07:41
-
-
Save yxjxx/bc206d68a0396585a666 to your computer and use it in GitHub Desktop.
ruijie.sh
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/bash | |
PASSWD=pw | |
ruijie_dir="/Applications/Ruijie Supplicant.app/Contents/MacOS" | |
cmd=Supplicant | |
cd "$ruijie_dir" | |
echo "$PASSWD" | sudo -S "./$cmd" &> /dev/null & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment