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

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
commit 4bf75c3112
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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