Browse 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 10 years ago
parent
commit
2c44b2a7ec
1 changed files with 3 additions and 0 deletions
  1. 3 0
      conf/init_ynh-hotspot

+ 3 - 0
conf/init_ynh-hotspot

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