aboutsummaryrefslogtreecommitdiffstats
path: root/host/cmake/redhat/post_install.in
blob: c7820ff985967b972ef51e50137ddd4feeff44ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
#
# Copyright 2011,2013 Ettus Research LLC
# Copyright 2018 Ettus Research, a National Instruments Company
#
# SPDX-License-Identifier: GPL-3.0-or-later
#

cp @CMAKE_INSTALL_PREFIX@/lib64/uhd/utils/uhd-usrp.rules /etc/udev/rules.d/uhd-usrp.rules
udevadm control --reload-rules
udevadm trigger
ldconfig