Browse Source

comando errado para config dahdi. Usar o make install_config

dev
bruno 11 months ago
parent
commit
75e644ec33
  1. 5
      instaladores_simplesip/install.sh

5
instaladores_simplesip/install.sh

@ -269,7 +269,7 @@ if [ -f "$dahdi" ] ; then
make install >> $log 2>&1
RESULT=$?
verifica_erro $RESULT DAHDI_INSTALL
make config >> $log 2>&1
make install-config >> $log 2>&1
RESULT=$?
verifica_erro $RESULT DAHDI_CONFIG
[[ -f /etc/dahdi/modules ]] && /bin/cp -Rapf /etc/dahdi/modules /etc/dahdi/modules.ori
@ -327,7 +327,8 @@ if [ -f "$asterisk" ] ; then
RESULT=$?
verifica_erro $RESULT ASTERISK_CONFIG
# O código fonta
# Inserir arquivo do systemd do asterisk
# esse arquivo não
/bin/cp asterisk.service /etc/systemd/system/
/bin/cp permission_asterisk.service /etc/systemd/system
systemctl daemon-reload

Loading…
Cancel
Save