Skip to content

Commit

Permalink
RVD undeployed by config at *first* restcomm start
Browse files Browse the repository at this point in the history
Improvements in the log messages of config-restcomm.sh too

Refers #2350
  • Loading branch information
otsakir committed Jul 27, 2017
1 parent e949fc8 commit 18b60e7
Showing 1 changed file with 6 additions and 7 deletions.
Expand Up @@ -541,22 +541,21 @@ otherRestCommConf(){
}

disableRVD() {
echo "disabling bundled RVD..."
if [ -f "$RVD_DEPLOY.deployed" ]; then
rm "$RVD_DEPLOY.deployed"
echo "RVD un-deployed"
if [[ -f "$RVD_DEPLOY.deployed" || -f "$RVD_DEPLOY.dodeploy" ]]; then
rm -f "$RVD_DEPLOY.deployed"
rm -f "$RVD_DEPLOY.dodeploy"
echo "RVD undeployed (or not deployed at all)"
else
echo "RVD already not deployed"
echo "RVD not deployed"
fi
}

enableRVD() {
echo "enabling bundled RVD..."
if [ -f "$RVD_DEPLOY.deployed" ]; then
echo "RVD already deployed"
else
touch "$RVD_DEPLOY".dodeploy
echo "RVD enabled/deployed"
echo "RVD deployed"
fi
}

Expand Down

0 comments on commit 18b60e7

Please sign in to comment.