wok diff tazwikiss/receipt @ rev 8497

Add CONFIG_FILES /etc/rsyncd.conf, /etc/rsyncd.secrets and /etc/rsyncd.motd to rsync receipt.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Feb 10 02:55:28 2011 +0000 (2011-02-10)
parents 19914b75dc51
children bf6db9997f47
line diff
     1.1 --- a/tazwikiss/receipt	Fri Nov 05 01:05:36 2010 +0100
     1.2 +++ b/tazwikiss/receipt	Thu Feb 10 02:55:28 2011 +0000
     1.3 @@ -64,16 +64,16 @@
     1.4  			cat > $1/etc/httpd.conf <<EOT
     1.5  H:/var/www
     1.6  A:0.0.0.0/0
     1.7 -*.sh:/bin/sh
     1.8  EOT
     1.9  		fi
    1.10  		while read line; do
    1.11 -			grep -q "$line" $1/etc/httpd.conf || continue
    1.12 +			grep -q "$line" $1/etc/httpd.conf && continue
    1.13  			echo "$line" >> $1/etc/httpd.conf
    1.14  		done <<EOT
    1.15 -I:index.sh
    1.16  *.sh:/bin/sh
    1.17  EOT
    1.18 +		grep -q ' httpd ' $1/etc/rcS.conf ||
    1.19 +		sed -i 's/ slim"/ httpd slim"/' $1/etc/rcS.conf
    1.20  		if [ -z "$1" ]; then
    1.21  			# Start Web server.
    1.22  			/etc/init.d/httpd stop