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: //usr/syno/sbin/syno-bootup-type-set.sh
#!/bin/sh

GetBootupType()
{
	if [ -f /var/.UpgradeBootup ]; then
		if [ -f /.old_patch_info/VERSION ]; then
			if [ -f /.updater ]; then
				echo Migrate
			else
				echo SystemUpdate
			fi
		else
			echo FreshInstall
		fi
	elif [ -f /var/.SmallupdateBootup ]; then
		echo NanoUpdate
	else
		echo Normal
	fi
}

GetBootupType >/run/syno-bootup-type