From ccaf94592342255f3f0692c242196fb157a48137 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Sat, 14 Oct 2006 09:31:03 +0000 Subject: intial import - version 0.6.0 --- setup-webconf | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 setup-webconf (limited to 'setup-webconf') diff --git a/setup-webconf b/setup-webconf new file mode 100644 index 0000000..939b6e2 --- /dev/null +++ b/setup-webconf @@ -0,0 +1,21 @@ +#!/bin/sh + +# script to set up webconf + +apk_add mini_httpd webconf-mvc + +sed -i 's:MINI_HTTPD_OPTS=.*:MINI_HTTPD_OPTS="-C /etc/mini_httpd.conf": + s:#MINI_HTTPD_DOCROOT=.*:MINI_HTTPD_DOCROOT=/var/lib/webconf/www: + ' /etc/conf.d/mini_httpd + +cat - > /etc/mini_httpd.conf <