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:
parent
bc5eb54331
commit
f8f73fbe00
1 changed files with 1 additions and 1 deletions
|
@ -412,7 +412,7 @@ start)
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
||||||
i=0
|
i=0
|
||||||
while ! ip link show dev hotspot1 &>/dev/null; do
|
while ! ip link show dev "${new_gateway_interface}" &>/dev/null; do
|
||||||
sleep 1
|
sleep 1
|
||||||
if [ ${i} -gt 20 ]; then
|
if [ ${i} -gt 20 ]; then
|
||||||
echo "Failed to see hotspot interface showing up in 'ip a'"
|
echo "Failed to see hotspot interface showing up in 'ip a'"
|
||||||
|
|
Loading…
Add table
Reference in a new issue