27 Apr
2001
27 Apr
'01
12:17 p.m.
On Fri, 27 Apr 2001, Florian Lohoff wrote:
BTW: Does anyone know for a better check for rtnetlink support than this ?
if [ -d /proc -a -z "`cat /proc/ksyms | grep rtnetlink`" ]; then
if grep rtnetlink /proc/ksyms > /dev/null 2>&1 then echo "Found rtnetlink in /proc/ksyms." else echo "Either /proc is not available, or it does not contain /proc/ksyms," echo "or there is no permission to read /proc/ksyms, or /proc/ksyms" echo "does not contain rtnetlink." fi Leos