From 79ec958aaddb14ba0b759cba251b288309b26b43 Mon Sep 17 00:00:00 2001 From: Kayou Date: Sat, 23 Feb 2019 01:40:10 +0100 Subject: [PATCH] Store checksum --- scripts/install | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/install b/scripts/install index 210e203..0b09bbd 100644 --- a/scripts/install +++ b/scripts/install @@ -257,6 +257,13 @@ ynh_replace_string "^DAEMON_CONF=$" "&/etc/hostapd/hostapd.conf" /etc/init.d/hos # Fix sources ynh_replace_string "__PATH__" "${path_url}" "$final_path/config.php" +#================================================= +# STORE THE CONFIG FILE CHECKSUM +#================================================= + +# Calculate and store the config file checksum into the app settings +ynh_store_file_checksum "$final_path/config.php" + #================================================= # SETUP SYSTEMD #=================================================