SHA256
1
0
forked from pool/apache2
OBS User unknown
2007-09-03 16:22:43 +00:00
committed by Git OBS Bridge
parent 6588ab82eb
commit 0defb1aea2
3 changed files with 17 additions and 2 deletions

View File

@@ -19,7 +19,13 @@ else
fi
#echo -n writing sysconfig.d/loadmodule.conf
exec 3>$sysconfdir/sysconfig.d/loadmodule.conf
TMPFILE=`/bin/mktemp /tmp/$pname.XXXXXXXXXXXX`
if [ -z "$TMPFILE" ]; then
echo >&2 Error: could not create temporary file for writing loadmodules.conf.
exit 1
fi
exec 3>$TMPFILE
echo >&3 "#
# Files in this directory are created at apache start time by /usr/sbin/rc$pname
# Do not edit them!
@@ -98,6 +104,8 @@ for i in ${APACHE_MODULES[*]}; do
done
echo >&3 -e "#\n"
exec 3<&-
chmod 644 $TMPFILE
mv $TMPFILE $sysconfdir/sysconfig.d/loadmodule.conf
#echo -n ". "