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/init/syno-share-check.conf
description "Check if share ready"

author "System Integration Team"

start on syno.volume.ready

task

console log

nice -10

script
	/bin/echo `date +"%b %d %T"` "=============== start syno-share-check ================" || true
	echo "share_start="`awk '{print $1}' /proc/uptime` >> /run/synoservice/bootup_time_detail || true
	/usr/syno/etc/rc.sysv/share-prepare.sh start || true
	echo "share_ready="`awk '{print $1}' /proc/uptime` >> /run/synoservice/bootup_time_detail || true
	/bin/echo `date +"%b %d %T"` "=============== finish syno-share-check ===============" || true
end script

# vim:ft=upstart