debian: Updated postinst such that sysctl failures are non-fatal to installation

This commit is contained in:
Martin Braun 2016-05-11 16:54:37 -07:00
parent 8426569f5c
commit d3a08aaa3f

View file

@ -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