<<On Thu, 20 Sep 2001 22:19:22 -0700, Peter Wemm <[EMAIL PROTECTED]> said:

> foreach $path (`sysctl -n kern.module_path | sed -e 's/;/ /`)
>   if (-d $path)
>     kldxref $path
>   endif
> endfor

module_path=$(sysctl -n kern.module_path)
OIFS="$IFS"; IFS=";"
set ${module_path}
IFS="$OIFS"
for directory; do
        [ -d ${directory} ] && kldxref ${directory}
done

-GAWollman


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to