initdev_mini_imu.sh 229 B

1234567
  1. #!/bin/bash
  2. echo 'KERNEL=="ttyUSB*", SUBSYSTEMS=="usb",ATTRS{idVendor}=="1a86",ATTRS{idProduct}=="7523",SYMLINK+="mini_imu"' > /etc/udev/rules.d/mini_imu_board.rules # Mini_Imu
  3. service udev reload
  4. sleep 2
  5. service udev restart