diff options
author | Chris Larson <clarson@kergoth.com> | 2003-12-05 04:46:59 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2003-12-05 04:46:59 +0000 |
commit | 83cbb11048e51b21ff766ee4ff7e2ef531942433 (patch) | |
tree | 65098543236a1e51407793b3f34b91329e96a5fa /apache/apache_2.0.48.oe | |
parent | 4e62832980e7c7f1d205e67c6db89dcdff200b6b (diff) |
Get apache starting on boot properly.
BKrev: 3fd00dc3oAZpYn3L6YyONoObrmqvOg
Diffstat (limited to 'apache/apache_2.0.48.oe')
-rw-r--r-- | apache/apache_2.0.48.oe | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/apache/apache_2.0.48.oe b/apache/apache_2.0.48.oe index a328d78e11..a6a4ad2b18 100644 --- a/apache/apache_2.0.48.oe +++ b/apache/apache_2.0.48.oe @@ -6,6 +6,7 @@ DEPENDS = virtual/libc expat openssl zlib db3 RDEPENDS = libc6 expat openssl zlib db3 S = ${WORKDIR}/httpd-${PV} +sysconfdir_append = /apache inherit autotools libtool @@ -33,11 +34,11 @@ do_compile () { do_install_append () { install -d ${D}/${sysconfdir}/init.d cat ${FILESDIR}/init | \ - sed -e 's,/usr/sbin/,${sbindir},g; \ - s,/usr/bin/,${bindir},g; \ + sed -e 's,/usr/sbin,${sbindir},g; \ + s,/usr/bin,${bindir},g; \ s,/usr/lib,${libdir},g; \ - s,/etc/,${sysconfdir},g; \ - s,/usr/,${prefix},g;' > ${D}/${sysconfdir}/init.d/apache + s,/etc/apache,${sysconfdir},g; \ + s,/usr,${prefix},g;' > ${D}/${sysconfdir}/init.d/apache chmod 755 ${D}/${sysconfdir}/init.d/apache } |