blob: a54ed3f5136f6812560c5da84f123a71cf4b85a0 (
plain) (
tree)
|
|
#!/bin/sh
if [ -n "$1" ]; then
DIR="$1"
else
DIR="/etc/lighttpd"
fi
cd "$DIR" || exit 1
[ -d "conf.d" ] || exit 0
for file in conf.d/*; do
[ -f "$file" ] && echo 'include "'"$DIR/$file"'"'
done
exit 0
|