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-checkshare-usbvol.conf
description "Checkshare for usbstation"

author "System Integration Team"

start on starting 3rdparty-services

task

console log

script
	/bin/echo `date +"%b %d %T"` "=============== start checkshare for usbstation ================" || true
	SYNOINFO_DEF="/etc.defaults/synoinfo.conf"
	SUPPORT_USB_VOLUME=`get_key_value $SYNOINFO_DEF support_usb_volume` || true

	if [ "yes" = "${SUPPORT_USB_VOLUME}" ]; then
		/usr/syno/bin/synocheckshare --chkusbvol || true
	fi
	/bin/echo `date +"%b %d %T"` "=============== finish checkshare for usbstation ===============" || true
end script

# vim:ft=upstart