19 lines
407 B
Bash
19 lines
407 B
Bash
#!/bin/sh
|
|
#
|
|
# $OpenBSD: mod_speedycgi-enable,v 1.1.1.1 2002/11/10 19:57:04 jakob Exp $
|
|
|
|
MODULE=!!PREFIX!!/lib/mod_speedycgi.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_speedycgi module (${MODULE})"
|
|
exit 1
|
|
else
|
|
echo "Enabling SpeedyCGI module..."
|
|
/usr/sbin/apxs -i -a -n speedycgi ${MODULE}
|
|
fi
|