#!/bin/sh ############################################################################# ## ## /usr/bin/MySoftware ## ## Business logic of MyProgram system. ## Do not change nothing in this file. All configuration can be ## made on /etc/MySoftware.conf ## ## We'll not support any modifications made here. ## # Default configuration file CONF=/etc/MySoftware.conf # Minimal content directories MIN_CONTENT_PATH=/var/www:/var/MySoftware/www if [ -r "$CONF"]; then . "$CONF" fi # All the content I'll serve are the "minimal" plus the ones provided # by the user in the configuration file $CONF CONTENT_PATH=$MIN_CONTENT_PATH:$CONF_CONTENT_PATH . . .