Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Lozy committed Feb 20, 2014
1 parent 4ffd6bf commit a4f4f7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ serverip=$Getserverip
if [ -z "$serverip" ];then
echo "$Getserverip" | while read theip;do
port=$DEFAULT_PORT
intface=$(ifconfig | grep "$Getserverip" -1 | sed -n 1p | awk '{print $1}' | sed 's/:/-/g')
intface=$(ifconfig | grep "$theip" -1 | sed -n 1p | awk '{print $1}' | sed 's/:/-/g')
configfile="/etc/danted/conf/sockd_${intface}.conf"
genconfig $configfile $theip $port $Intface
i=$((i+1))
Expand Down

0 comments on commit a4f4f7c

Please sign in to comment.