delete_udev_rules.sh 281 B

1234567891011
  1. #!/bin/bash
  2. echo "delete remap the device serial port(ttyUSBX) to rplidar"
  3. echo "sudo rm /etc/udev/rules.d/rplidar.rules"
  4. sudo rm /etc/udev/rules.d/rplidar.rules
  5. echo " "
  6. echo "Restarting udev"
  7. echo ""
  8. sudo service udev reload
  9. sudo service udev restart
  10. echo "finish delete"