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

More checksum

This commit is contained in:
Kayou 2019-02-23 02:04:57 +01:00
parent 79ec958aad
commit f519a9611b
No known key found for this signature in database
GPG key ID: 823A2CBE071D3126

View file

@ -263,6 +263,7 @@ ynh_replace_string "__PATH__" "${path_url}" "$final_path/config.php"
# Calculate and store the config file checksum into the app settings # Calculate and store the config file checksum into the app settings
ynh_store_file_checksum "$final_path/config.php" ynh_store_file_checksum "$final_path/config.php"
ynh_store_file_checksum "/etc/init.d/hostapd"
#================================================= #=================================================
# SETUP SYSTEMD # SETUP SYSTEMD
@ -294,7 +295,7 @@ if [[ $ip6_addr != none ]]; then
fi fi
# register the service # register the service
yunohost service add $service_name --description "creates a Wi-Fi access point" yunohost service add $service_name --description "Creates a Wi-Fi access point"
# enable and start the service if device is present # enable and start the service if device is present
if [[ $wifi_device == none ]]; then if [[ $wifi_device == none ]]; then