digitallinx/vBilling — Issue #3: after fi begin with else on line 1528
Author: ortimo
Created: 2012-01-01 23:19:02+00:00
State: open

on setup.sh
after fi you start freeswitch and begin with else

see here
===============
# you begin here on 1518 line with a if
if [ $(cat /etc/debian_version | cut -d "." -f 1) == 6 ]; then
ln -s $VBILLING_HTML/luac/debian/vBilling.luac $FS_INSTALL_PATH/scripts/vBilling.luac
ln -s $VBILLING_HTML/luac/debian/vBilling_conf.lua $FS_INSTALL_PATH/scripts/vBilling_conf.lua
ln -s $VBILLING_HTML/luac/debian/vBilling_functions.luac $FS_INSTALL_PATH/scripts/vBilling_functions.luac
else
ln -s $VBILLING_HTML/luac/ubuntu/vBilling.luac $FS_INSTALL_PATH/scripts/vBilling.luac
ln -s $VBILLING_HTML/luac/ubuntu/vBilling_conf.lua $FS_INSTALL_PATH/scripts/vBilling_conf.lua
ln -s $VBILLING_HTML/luac/ubuntu/vBilling_functions.luac $FS_INSTALL_PATH/scripts/vBilling_functions.luac
fi
/etc/init.d/freeswitch start
else [ -f /etc/redhat-release ] # i think you need here if not else
chown -R apache.apache $VBILLING_HTML