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