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

put back the empty line I accidently removed

This commit is contained in:
Lab-8916100448256 2024-03-08 18:34:34 +01:00 committed by GitHub
parent e725d58f7b
commit f21df258cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -237,6 +237,7 @@ if [ "$1" != restart ]; then
old_gateway_interface=$(ynh_app_setting_get --app=$app --key=gateway_interface) old_gateway_interface=$(ynh_app_setting_get --app=$app --key=gateway_interface)
new_gateway_interface=$(ip route get 1.2.3.4 | awk '$2 ~ /^dev$/ { print $3; } $4 ~ /^dev$/ { print $5; }') new_gateway_interface=$(ip route get 1.2.3.4 | awk '$2 ~ /^dev$/ { print $3; } $4 ~ /^dev$/ { print $5; }')
echo "OK" echo "OK"
fi fi