#!/bin/sh
#
# BASE_DIR needs to point to the rwhois 'default-dir'.  The
# rwhois.conf file should be $BASE_DIR/rwhois.conf

BASE_DIR=/home/devel2/davidb/src/rwhois-dev/sample.data

# INDEX_OPT can be either -e for turning on code that will flag as an
# error anything not under the rwhois root (default-dir), -v for more
# status reporting, or -q for no status reporting.

# INDEX_OPT=-e # Ensure in jail
# INDEX_OPT=-v # verbose
# INDEX_OPT=-q # quiet
INDEX_OPT=

./index_asn $BASE_DIR $INDEX_OPT
./index_domain $BASE_DIR $INDEX_OPT 
./index_user $BASE_DIR $INDEX_OPT
./index_referral $BASE_DIR $INDEX_OPT
./index_host $BASE_DIR $INDEX_OPT
./index_network $BASE_DIR $INDEX_OPT
# ./index_org $BASE_DIR $INDEX_OPT
./index_soa $BASE_DIR $INDEX_OPT
./index_referral $BASE_DIR $INDEX_OPT
