HEX
Server: Apache/2.4.63 (Unix)
System: Linux TOMS-220NAS 4.4.302+ #86009 SMP Wed Nov 26 18:19:17 CST 2025 x86_64
User: flavio87 (1026)
PHP: 8.3.27
Disabled: NONE
Upload Files
File: //usr/syno/lib/systemd/scripts/rd.gz.check.sh
#!/bin/bash
junk=`dmesg | grep "junk in compressed archive"`
# if this is x86_64 platform and found junk in rd.gz then stuck here
if  /bin/uname -a | /bin/egrep "(x86_64)" > /dev/null 2>&1 && [ -n "${junk}" ]; then
	logger -t rdgz-check -p err "Found junk when decompressing rd.gz"
	while [ 1 ]
	do
		sleep 5
	done
fi
exit 0