Skip to content

Commit

Permalink
kamctl: internal OSERBIN renamed to KAMBIN
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Mar 26, 2019
1 parent e2784b5 commit d4adb83
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions utils/kamctl/kamctl
Expand Up @@ -1982,16 +1982,16 @@ kamailio_start() {
exit 1
fi

if [ ! -x "$OSERBIN" ] ; then
if [ ! -x "$KAMBIN" ] ; then
echo
merr "Kamailio binaries not found at $OSERBIN"
merr "set OSERBIN to the path of kamailio in $0 or ~/.kamctlrc"
merr "Kamailio binaries not found at $KAMBIN"
merr "set KAMBIN to the path of kamailio in $0 or ~/.kamctlrc"
exit 1
fi
if [ $SYSLOG = 1 ] ; then
$OSERBIN -P $PID_FILE -f $ETCDIR/kamailio.cfg $STARTOPTIONS 1>/dev/null 2>/dev/null
$KAMBIN -P $PID_FILE -f $ETCDIR/kamailio.cfg $STARTOPTIONS 1>/dev/null 2>/dev/null
else
$OSERBIN -P $PID_FILE -E -f $ETCDIR/kamailio.cfg $STARTOPTIONS
$KAMBIN -P $PID_FILE -E -f $ETCDIR/kamailio.cfg $STARTOPTIONS
fi
sleep 3
if [ ! -s $PID_FILE ] ; then
Expand Down
4 changes: 2 additions & 2 deletions utils/kamctl/kamctl.base
Expand Up @@ -112,8 +112,8 @@ fi
if [ -z "$DIR" ] ; then
DIR=`dirname $0`
fi
if [ -z "$OSERBIN" ] ; then
OSERBIN=$DIR/kamailio
if [ -z "$KAMBIN" ] ; then
KAMBIN=$DIR/kamailio
fi

##### ------------------------------------------------ #####
Expand Down

0 comments on commit d4adb83

Please sign in to comment.