#!/bin/bash
#
#ET-ARM uninstall script
#
#Check whether the current user is root
if test $(id -ur) != 0; then
    echo
    echo "You should logon as root user!"
	echo
    exit 1
fi
rm -f /usr/local/lib/*RockeyARM.so


echo
echo Uninstalling ET-ARM SDK...
echo
 
#Delete ET-ARM libs

rm -rf /usr/local/include/Dongle_API.h
rm -rf /usr/local/include/usb.h
rm -f /usr/local/lib/*RockeyARM*


/sbin/ldconfig 2>/dev/null 

echo Uninstall finished!

