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: //lib64/udev/rules.d/50-scsi_host.rules
# author: Business Platform Team
# only handel scsi_host uevent
SUBSYSTEM!="scsi_host", GOTO="eunit_end"
ACTION!="change", GOTO="eunit_end"

ENV{SYNO_PMP_EVENT}=="CABLE_CONNECT|CABLE_DISCONNECT", RUN+="/lib/udev/script/hotplugd-util.sh prepare_eunit_hotplug_event_file"
# if /tmp/eunitseq is not ready, eunit_info will create wrong eunit index info file
TEST!="/tmp/eunitseq", GOTO="eunit_end"
ENV{SYNO_PMP_EVENT}=="CABLE_CONNECT", RUN+="/usr/syno/sbin/eunit_info"

LABEL="eunit_end"