1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hotspot_ynh.git synced 2024-09-03 19:25:53 +02:00

[fix] hotspot1 doesn't exist

This commit is contained in:
ljf (zamentur) 2021-11-24 19:30:14 +01:00 committed by GitHub
parent bc5eb54331
commit f8f73fbe00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'"