#!/bin/sh # # $OpenBSD: mod_frontpage-enable,v 1.2 2001/08/13 16:40:54 danh Exp $ MODULE=!!PREFIX!!/lib/mod_frontpage.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_frontpage module (${MODULE})" exit 1 else echo "Enabling Frontpage module..." /usr/sbin/apxs -i -a -n frontpage ${MODULE} fi