rbrindley: branch 2.0 r4863 - /branches/2.0/scripts/editmisdn.sh

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Mon Jun 15 08:47:18 CDT 2009


Author: rbrindley
Date: Mon Jun 15 08:47:15 2009
New Revision: 4863

URL: http://svn.asterisk.org/svn-view/asterisk-gui?view=rev&rev=4863
Log:

- fixed an issue where misdn couldn't parse "var = val" lines, to has to be
  format: "var=val"


Modified:
    branches/2.0/scripts/editmisdn.sh

Modified: branches/2.0/scripts/editmisdn.sh
URL: http://svn.asterisk.org/svn-view/asterisk-gui/branches/2.0/scripts/editmisdn.sh?view=diff&rev=4863&r1=4862&r2=4863
==============================================================================
--- branches/2.0/scripts/editmisdn.sh (original)
+++ branches/2.0/scripts/editmisdn.sh Mon Jun 15 08:47:15 2009
@@ -9,4 +9,4 @@
 
 MISDNCONF="/etc/misdn-init.conf"
 MISDNFILE="/etc/asterisk/applymisdn.conf"
-grep -v "\[general\]" ${MISDNFILE} | grep -v "\;" > ${MISDNCONF}
+grep -v "\[general\]" ${MISDNFILE} | grep -v "\;" | sed 's/ = /=/g' > ${MISDNCONF}




More information about the asterisk-gui-commits mailing list