Index: etc/rc.d/kldxref =================================================================== --- etc/rc.d/kldxref +++ etc/rc.d/kldxref @@ -24,7 +24,8 @@ fi IFS=';' for MODULE_DIR in $MODULE_PATHS; do - if [ ! -f "$MODULE_DIR/linker.hints" ] || + if [ `echo ${MODULE_DIR}/*` != "${MODULE_DIR}/*" ] && + [ ! -f "$MODULE_DIR/linker.hints" ] || checkyesno kldxref_clobber; then echo "Building $MODULE_DIR/linker.hints" kldxref "$MODULE_DIR"