1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/watchdog_ynh.git synced 2024-06-22 05:42:53 +02:00
This commit is contained in:
tituspijean 2024-02-02 20:22:29 +01:00
parent 443a1dcc97
commit e97f3c471d
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720
2 changed files with 18 additions and 1 deletions

17
scripts/_common.sh Normal file
View file

@ -0,0 +1,17 @@
#!/bin/bash
#=================================================
# COMMON VARIABLES
#=================================================
#=================================================
# PERSONAL HELPERS
#=================================================
#=================================================
# EXPERIMENTAL HELPERS
#=================================================
#=================================================
# FUTURE OFFICIAL HELPERS
#=================================================

View file

@ -50,7 +50,7 @@ ynh_systemd_action --service_name=$app --action="start"
# END OF SCRIPT
#=================================================
if [ reboot_required = true ]; then
if [ $reboot_required = true ]; then
echo "Your device boot configuration has been updated to enable the hardware watchdog. Please reboot it." > ../doc/POST_INSTALL.md
else
rm ../doc/POST_INSTALL.md