#!/bin/sh
#
# Copyright 2011 Ettus Research LLC
# Copyright 2018 Ettus Research, a National Instruments Company
#
# SPDX-License-Identifier: GPL-3.0-or-later
#

if [ "$1" = "remove" ]; then
    echo 'Uninstalling UHD.'
    rm /etc/udev/rules.d/uhd-usrp.rules
    udevadm control --reload-rules
fi