aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2016-05-11 16:54:37 -0700
committerMartin Braun <martin.braun@ettus.com>2016-05-11 16:54:37 -0700
commitd3a08aaa3fcda892ed03efc235d3cc2a36ca6117 (patch)
tree9fb8d998315fbb5b3ceb4bf56a33eff94edf3d4f
parent8426569f5c6ee954c5f0345351bd8239725a8fee (diff)
downloaduhd-d3a08aaa3fcda892ed03efc235d3cc2a36ca6117.tar.gz
uhd-d3a08aaa3fcda892ed03efc235d3cc2a36ca6117.tar.bz2
uhd-d3a08aaa3fcda892ed03efc235d3cc2a36ca6117.zip
debian: Updated postinst such that sysctl failures are non-fatal to installation
-rw-r--r--host/cmake/debian/uhd-host.postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/cmake/debian/uhd-host.postinst b/host/cmake/debian/uhd-host.postinst
index 1d9d31cd2..c97d6befd 100644
--- a/host/cmake/debian/uhd-host.postinst
+++ b/host/cmake/debian/uhd-host.postinst
@@ -8,7 +8,7 @@ if [ "$1" = "configure" ]; then
fi
# Apply usrp2 networking optimization
if [ -x "`which sysctl 2>/dev/null`" ]; then
- sysctl -p /etc/sysctl.d/uhd-usrp2.conf
+ sysctl -p /etc/sysctl.d/uhd-usrp2.conf || echo "Warning: Could not update sysctl settings for network devices."
fi
fi