|
|
|
@ -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 |
|
|
|
|