From c2c938830619090a5eb7bde16815023a93ffbbb5 Mon Sep 17 00:00:00 2001 From: Nicholas Corgan Date: Wed, 11 Sep 2013 09:23:41 -0700 Subject: Fixed references to Linux USB permissions commands * 'sudo udevadm trigger' needs to be run after reloading rules --- host/cmake/debian/postinst.in | 3 ++- host/cmake/redhat/post_install.in | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'host/cmake') diff --git a/host/cmake/debian/postinst.in b/host/cmake/debian/postinst.in index eaca15394..6c6594b91 100755 --- a/host/cmake/debian/postinst.in +++ b/host/cmake/debian/postinst.in @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright 2011 Ettus Research LLC +# Copyright 2011,2013 Ettus Research LLC # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -19,5 +19,6 @@ if [ "$1" = "configure" ]; then cp @CMAKE_INSTALL_PREFIX@/share/uhd/utils/uhd-usrp.rules /etc/udev/rules.d/uhd-usrp.rules udevadm control --reload-rules + udevadm trigger ldconfig fi diff --git a/host/cmake/redhat/post_install.in b/host/cmake/redhat/post_install.in index 01fd3338f..b5622ec59 100755 --- a/host/cmake/redhat/post_install.in +++ b/host/cmake/redhat/post_install.in @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright 2011 Ettus Research LLC +# Copyright 2011,2013 Ettus Research LLC # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -18,4 +18,5 @@ cp @CMAKE_INSTALL_PREFIX@/share/uhd/utils/uhd-usrp.rules /etc/udev/rules.d/uhd-usrp.rules udevadm control --reload-rules +udevadm trigger ldconfig -- cgit v1.2.3