From 7c84202d603925920fe06e51f2beba383645d7ea Mon Sep 17 00:00:00 2001 From: Ronny Nilsson Date: Mon, 5 Mar 2018 17:06:20 +0100 Subject: [PATCH] voice_client: remove unused code --- voice-client/files/etc/init.d/voice_client | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/voice-client/files/etc/init.d/voice_client b/voice-client/files/etc/init.d/voice_client index 671899ec0..926119043 100755 --- a/voice-client/files/etc/init.d/voice_client +++ b/voice-client/files/etc/init.d/voice_client @@ -2081,19 +2081,6 @@ pbx_fix_ownership() chown $ASTUSER:$ASTGROUP -R $ASTDIRSRECURSIVE } -#Load brcm line types and counts using the brcminfo util -lineType="" -for x in $(brcminfo) -do - case $x in - "DECT") lineType="dectCount" ;; - "FXS") lineType="fxsCount" ;; - "FXO") lineType="fxoCount" ;; - "All") lineType="allCount" ;; - [0-9]) eval "$lineType=$x" ;; - esac -done - # # Calculate a name for each brcm line, depending on port type # and number. The name is used to make UI look better.