Merge pull request #43 from keomabrun/dev_39

add service description
This commit is contained in:
agentcobra
2019-02-10 17:12:09 +01:00
committed by GitHub

View File

@@ -274,7 +274,7 @@ if [[ $ip6_addr != none ]]; then
fi fi
systemctl enable ynh-hotspot systemctl enable ynh-hotspot
yunohost service add ynh-hotspot yunohost service add ynh-hotspot --description "creates a Wi-Fi access point"
if [[ $wifi_device == none ]]; then if [[ $wifi_device == none ]]; then
echo "WARNING: Wifi Hotspot is not started because no wifi device was found (please, check the web admin)" >&2 echo "WARNING: Wifi Hotspot is not started because no wifi device was found (please, check the web admin)" >&2