Commit e4effbef authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Minor fix to previous FreeBSD6 change.

parent 6c434d04
......@@ -930,8 +930,10 @@ Phase "sslcerts", "Setting up SSL certificates", sub {
DoneIfExists("$RCDIR/apache.sh");
ExecQuietFatal("mv $RCDIR/apache.sh.sample $RCDIR/apache.sh");
if ($FBSD_VERSION == 6) {
ExecQuietFatal("sed -i .orig -e 's/^apache_/#apache_/' ".
ExecQuietFatal("sed -i .orig ".
"-e 's/^apache_enable/#apache_enable/' ".
"$RCDIR/apache.sh");
ExecQuietFatal("/bin/rm -f $RCDIR/apache.sh.orig");
}
};
Phase "starting", "Starting Apache server", sub {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment