### Configure the maintenance page on LVS servers
- mkdir -p "$OUTDIR/$LVS/var/www"
+ mkdir -p "$OUTDIR/$LVS/var/www/html"
if $(ls $CUSTOMDIR/maint_page |grep -q "index.html\|index.php")
then
echo;echo "Installing custom maintenance page on ${LVS}..."
fi
if [ "$CUSTOM_MAINT_PAGE_INDEX" = "y" ]
then
- cp -f $CUSTOMDIR/maint_page/* "$OUTDIR/$LVS/var/www/"
+ cp -f $CUSTOMDIR/maint_page/* "$OUTDIR/$LVS/var/www/html"
else
- cp -f $TEMPLATEDIR/lvs/maint_page/* "$OUTDIR/$LVS/var/www"
+ cp -f $TEMPLATEDIR/lvs/maint_page/* "$OUTDIR/$LVS/var/www/html"
fi