From f21f32e7ef9461bbb119395f175c6e1bac1aeaaa Mon Sep 17 00:00:00 2001 From: Victor Seva Date: Fri, 12 Jul 2013 12:16:51 +0200 Subject: [PATCH] bin/check.sh: Call set_subscribers_callforward.pl if the config file is present. --- bin/check.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/check.sh b/bin/check.sh index 060b8ed0..4757a523 100755 --- a/bin/check.sh +++ b/bin/check.sh @@ -43,6 +43,10 @@ function create_voip # $1 prefs yml file function create_voip_prefs { + if [ -f ${SCEN_CHECK_DIR}/callforward.yml ]; then + ${BIN_DIR}/set_subscribers_callforward.pl ${SCEN_CHECK_DIR}/callforward.yml + fi + if [ -f $1 ]; then ${BIN_DIR}/set_subscribers_preferences.pl $1 fi