aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-extended/lighttpd/lighttpd_1.4.%.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-extended/lighttpd/lighttpd_1.4.%.bbappend')
-rw-r--r--meta-openstack/recipes-extended/lighttpd/lighttpd_1.4.%.bbappend4
1 files changed, 1 insertions, 3 deletions
diff --git a/meta-openstack/recipes-extended/lighttpd/lighttpd_1.4.%.bbappend b/meta-openstack/recipes-extended/lighttpd/lighttpd_1.4.%.bbappend
index 33b1f61c..025ee4ee 100644
--- a/meta-openstack/recipes-extended/lighttpd/lighttpd_1.4.%.bbappend
+++ b/meta-openstack/recipes-extended/lighttpd/lighttpd_1.4.%.bbappend
@@ -1,3 +1 @@
-do_install_append() {
- sed -i '2i port=`grep "^server.port" /etc/lighttpd.conf`; if [ -z $port ]; then echo "server port not configured, not running lighttpd..."; exit 0; fi' ${D}/etc/init.d/lighttpd
-}
+require ${@bb.utils.contains('DISTRO_FEATURES', 'openstack', '${BPN}_openstack.inc', '', d)}