echo "**** ERROR IN CONFIGURATION ****"
echo "astrundir in '$ASTETCDIR' is set to '/var/run' - THIS IS WRONG."
echo "Please change it to something sensible (eg, '/var/run/asterisk') and $
echo "install_amp"
exit;
fi
if [ ! -d "$ASTRUNDIR" ]
then
echo "**** WARNING: ERROR IN CONFIGURATION ****"
echo "astrundir in '$is set to $ASTRUNDIR but the directory"
echo "does not exists. Attempting to create it with: 'mkdir -p $
echo
mkdir -p $ASTRUNDIR
RET=$?
if [ $RET != 0 ]
then
echo "**** ERROR: COULD NOT CREATE $ASTRUNDIR ****"
echo "Attempt to execute 'mkdir -p $ASTRUNDIR' failed w$