init scripts
Leos Bitto
leos at infobank.cz
Fri Apr 27 14:17:31 CEST 2001
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
More information about the Bird-users
mailing list