Skip to content

Commit

Permalink
update udev rules part
Browse files Browse the repository at this point in the history
Signed-off-by: yoyojacky <[email protected]>
  • Loading branch information
yoyojacky committed May 9, 2024
1 parent 3c7039c commit 34513dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion installation/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ deskpi_rules_file="/etc/udev/rules.d/10-deskpi.rules"

if [[ ! -e $deskpi_rules_file ]]; then
sudo sh -c "sudo cat <<EOF > '$deskpi_rules_file'
ACTION==\"add\", ATTRS{$idVendor},ATTRS{$idProduct},SYMLINK+="DeskPi_FAN"
ACTION==\"add\", ATTRS{\"$idVendor\"},ATTRS{\"$idProduct\"},SYMLINK+=\"DeskPi_FAN\"
EOF"
sudo sh -c "sudo udevadm control --reload-rules"
sudo sh -c "sudo udevadm trigger"
Expand Down

0 comments on commit 34513dd

Please sign in to comment.