All pastes #2122341 Raw Edit

Untitled

public text v1 · immutable
#2122341 ·published 2012-02-28 06:42 UTC
rendered paste body
    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$