Parcourir la source

The service is now based on yunohost settings, allowing to update the setup though the web interface with yunohost app setting commands

Julien VAUBOURG il y a 10 ans
Parent
commit
2c44b2a7ec
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      conf/init_ynh-hotspot

+ 3 - 0
conf/init_ynh-hotspot

@@ -270,6 +270,9 @@ case "$1" in
         start_dhcpd
         start_dhcpd
       fi
       fi
     fi
     fi
+
+    # Update dynamic settings
+    moulinette_set internet_device "${new_internet_device}"
   ;;
   ;;
   stop)
   stop)
     echo "Stopping..."
     echo "Stopping..."