#!/bin/sh

echo "*********************************************************************"
echo " Copy 95-grdnt.rules"
echo "*********************************************************************"

sudo cp ./95-grdnt.rules /etc/udev/rules.d

echo "*********************************************************************"
echo " Reload udev rules without restarting udev "
echo "*********************************************************************"

sudo udevadm control --reload-rules
sudo udevadm trigger --subsystem-match=usb --action=add

echo "*********************************************************************"
echo " You must reconnect dongle "
echo "*********************************************************************"
