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/eaupgrade.conf
description "EAUpgrade service"
author "Network Infrastructure Team"

start on syno.share.ready
stop on runlevel [06]

task

console log

script
	if [ -e /var/spool/synoeaupgrade.init ]; then
		/usr/syno/bin/synoeaupgrade init
	fi
	if [ -e /var/spool/synoeaupgrade.list ]; then
		rm -f /var/spool/synoeaupgrade.init
		/usr/syno/bin/synoeaupgrade
	else
		echo "/var/spool/synoeaupgrade.list doesn't exist!, no need eaupgrade" || true
	fi
end script