diff --git a/scripts/setup.sh b/scripts/setup.sh index 45e80c0..cb6eb1a 100755 --- a/scripts/setup.sh +++ b/scripts/setup.sh @@ -7,7 +7,7 @@ sudo cp ps4_controller_script.sh /etc/udev/rules.d sudo chmod +x /etc/udev/rules.d/ps4_controller_script.sh # Create or append the udev rule -echo 'ACTION=="add", SUBSYSTEM=="input", ATTRS{name}=="Wireless Controller", RUN+="/etc/udev/rules.d/ps4_controller_script.sh"' | sudo tee -a /etc/udev/rules.d/99-ps4-controller.rules +echo 'ACTION=="add", SUBSYSTEM=="input", ATTRS{name}=="Wireless Controller", RUN+="/etc/udev/rules.d/ps4_controller_script.sh"' | sudo tee /etc/udev/rules.d/99-ps4-controller.rules # Reload udev rules sudo udevadm control --reload-rules