#!/bin/sh # config_2fxs2fxo_2 - script to all install config files required # for testing uCasterisk with two daughter boards. if [ $# -ne 1 ]; then echo "usage $0 targetNameOrIP" exit 0 fi # extract path to scripts dir - this version works with ../../ type relative # paths and full paths. SCRIPTPATH=`echo $0 | sed 's/[^\/]*$//'` # download config files $SCRIPTPATH/dltarget package/asterisk/files/extensions.conf.2fxo2fxs_2 $1 $SCRIPTPATH/dltarget package/asterisk/files/zapata.conf.2fxo2fxs_2 $1 $SCRIPTPATH/dltarget package/zaptel/files/zaptel.conf.2fxo2fxs_2 $1 # install $SCRIPTPATH/install_2fxo2fxs_2.tcl $1