HEX
Server: Apache/2.2.34 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141
System: Linux Kou-Etsu-Dou 4.4.59+ #25556 SMP PREEMPT Thu Mar 4 18:03:46 CST 2021 x86_64
User: hosam (1026)
PHP: 7.2.29
Disabled: NONE
Upload Files
File: //etc.defaults/init/syno_ssd_bundle_bootup.conf
description "Record Smart Info to DB"
author "Platform Utility Team"

# Leave the smart info on startup for all disk if DS is shutdown at the crontab
# schedule time 00:00 (no record exists for today). for the bundle ssd life left estimation

start on runlevel 2

console log

post-start script
	date=$(date '+%Y-%m-%d')

	if [ ! -f /var/log/diskprediction/data-${date}.json ]; then
		/usr/syno/bin/synodiskhealthprediction.sh
	fi
end script