Parcourir la source

Fix small error on install

Julien VAUBOURG il y a 9 ans
Parent
commit
af37173677
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      scripts/install

+ 2 - 1
scripts/install

@@ -208,8 +208,9 @@ if [ "${ip6_addr}" != none ]; then
   fi
   fi
 fi
 fi
 
 
+sudo systemctl enable ynh-hotspot
+
 if ! $upgrade; then
 if ! $upgrade; then
-  sudo systemctl enable ynh-hotspot
   sudo systemctl start ynh-hotspot
   sudo systemctl start ynh-hotspot
 
 
   sudo yunohost service add ynh-hotspot
   sudo yunohost service add ynh-hotspot