Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
apache2.6987
find_httpd2_includes
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File find_httpd2_includes of Package apache2.6987
#!/bin/bash # Read the configuration (recursing through all include files) . /usr/share/apache2/load_configuration : ${sysconfdir:=/etc/apache2} httpd_conf=${APACHE_HTTPD_CONF:-$sysconfdir/httpd.conf} find_include_files () { local found i found=$(awk '/^[[:space:]]*Include/ { print $2 }' $1 2>/dev/null) for i in $found; do case $i in *\**) # filter filenames that are unexpanded, in the lack of a match, # like /etc/apache2/conf.d/*.conf ;; *) conffiles="$conffiles $i" find_include_files $i ;; esac done } find_include_files $httpd_conf #echo $httpd_conf $conffiles echo $conffiles exit 0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor