#!/bin/sh # # $OpenBSD: mod_geoip-enable,v 1.1.1.1 2003/06/27 15:06:13 naddy Exp $ MODULE=!!PREFIX!!/lib/mod_geoip.so if [ `id -u` -ne 0 ]; then echo "You must be root to run this script." exit fi if [ ! -f ${MODULE} ]; then echo "Cannot find mod_geoip module (${MODULE})" exit 1 else echo "Enabling GeoIP module..." /usr/sbin/apxs -i -a -n geoip ${MODULE} fi