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

fix service_name if empty

This commit is contained in:
Kayou 2019-03-11 00:44:58 +01:00
parent f7c255a9cf
commit 3757b70454
No known key found for this signature in database
GPG key ID: 823A2CBE071D3126

View file

@ -48,6 +48,11 @@ elif [ $firmware_nonfree = "no" ]; then
ynh_app_setting_set $app firmware_nonfree $firmware_nonfree
fi
if [ -z $service_name ]; then
service_name="ynh-hotspot"
ynh_app_setting_set $app service_name $service_name
fi
#=================================================
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
#=================================================