From a3129f2787ff3bf39072ff2687f9646297010047 Mon Sep 17 00:00:00 2001 From: kevin caradant Date: Sun, 24 Jan 2016 15:33:24 +0100 Subject: [PATCH] fix: error to get ethernet device name --- scriptVPN.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scriptVPN.sh b/scriptVPN.sh index 13bc23c..69f311e 100755 --- a/scriptVPN.sh +++ b/scriptVPN.sh @@ -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"