From f8f73fbe00bb2e2086b64f50e98347612237b107 Mon Sep 17 00:00:00 2001 From: "ljf (zamentur)" Date: Wed, 24 Nov 2021 19:30:14 +0100 Subject: [PATCH] [fix] hotspot1 doesn't exist --- conf/ynh-hotspot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/ynh-hotspot b/conf/ynh-hotspot index 23741c4..1873e55 100644 --- a/conf/ynh-hotspot +++ b/conf/ynh-hotspot @@ -412,7 +412,7 @@ start) sleep 1 i=0 - while ! ip link show dev hotspot1 &>/dev/null; do + while ! ip link show dev "${new_gateway_interface}" &>/dev/null; do sleep 1 if [ ${i} -gt 20 ]; then echo "Failed to see hotspot interface showing up in 'ip a'"