From 2cc57519b6a23cf054803668831795d9bbb4102d Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Fri, 2 Nov 2018 08:03:59 +0000 Subject: [PATCH] Change command to get default interface --- debian9-x86_64.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian9-x86_64.sh b/debian9-x86_64.sh index 5a0bb7f..25cb156 100644 --- a/debian9-x86_64.sh +++ b/debian9-x86_64.sh @@ -6,10 +6,10 @@ NBCPU=${NBCPU:-$(grep -c '^processor' /proc/cpuinfo | tr -d "\n")} OBFS=${OBFS:-no} MLVPN=${MLVPN:-no} OPENVPN=${OPENVPN:-no} -INTERFACE=${INTERFACE:-$(ip -o -4 route show to default | awk '{print $5}' | tr -d "\n")} +INTERFACE=${INTERFACE:-$(ip -o -4 route show to default | grep -Po '(?<=dev )(\S+)' | tr -d "\n")} DEBIAN_VERSION=$(sed 's/\..*//' /etc/debian_version) KERNEL_VERSION="4.14.77-mptcp-b3b861b" -OMR_VERSION="0.61" +OMR_VERSION="0.62" set -e umask 0022