Skip to content

Commit

Permalink
fix: error to get ethernet device name
Browse files Browse the repository at this point in the history
  • Loading branch information
kevincaradant committed Jan 24, 2016
1 parent c55e9c9 commit a3129f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scriptVPN.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ profileTxt=profile.txt
profileTxtBackup=profile.txt.bak

#in this script i get en because that want to say ethernet and i take always the ethernet device. In the futur, i will suggest the choose between wifi and ethernet ( wl or en )
networkName=$(ls sys/class/net | grep en*)
networkName=$(ls /sys/class/net | grep en*)

install_prog_required(){
echo -e "\033[34m---------------------------\033[0m"
Expand Down

0 comments on commit a3129f2

Please sign in to comment.