#!/bin/sh # # $OpenBSD: mod_log_sql-enable,v 1.1.1.1 2003/05/26 15:19:32 naddy Exp $ MODULE=!!PREFIX!!/lib/mod_log_sql.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_log_sql module (${MODULE})" exit 1 else echo "Enabling Log SQL module..." /usr/sbin/apxs -i -a -n sql_log ${MODULE} fi