#!/bin/sh # move config if needed and create compat symlink if [ -f /etc/mini_httpd.conf ] && ! [ -L /etc/mini_httpd.conf ]; then mkdir -p /etc/mini_httpd mv /etc/mini_httpd.conf /etc/mini_httpd/mini_httpd.conf \ && ln -s mini_httpd/mini_httpd.conf /etc/mini_httpd.conf fi exit 0