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.rules
# author: Business Platform Team
# only handel SCSI uevent
ENV{SUBSYSTEM}!="scsi", GOTO="scsi_end"
ENV{SYNO_SUPPORT_SAS}!="yes", GOTO="scsi_end"
ENV{MODALIAS}!="scsi:t-0x0d", GOTO="scsi_end"

ENV{SYNO_SUPPORT_MULTIPATH}=="yes", ENV{ACTION}=="remove", RUN+="/lib/udev/script/enc_remove_from_record.sh %E{DEVPATH}"
RUN+="/usr/syno/bin/syno_scemd_connector --signal 57"
RUN+="/lib/udev/script/sas-bs-pwrctl.sh"
ENV{ACTION}=="add|remove", RUN+="/lib/udev/script/hotplugd-util.sh prepare_eunit_hotplug_event_file"

LABEL="scsi_end"