[aadk-commits] qwell: uClinux/trunk r290 -
/uClinux/trunk/uClinux-dist/vendors/Digium/S800I/
aadk-commits at lists.digium.com
aadk-commits at lists.digium.com
Fri Mar 30 14:32:06 MST 2007
Author: qwell
Date: Fri Mar 30 16:32:05 2007
New Revision: 290
URL: http://svn.digium.com/view/aadk?view=rev&rev=290
Log:
useless use of cat!
I know, I'm being picky, but this'll avoid having to allocate an extra meg or so of memory.
Modified:
uClinux/trunk/uClinux-dist/vendors/Digium/S800I/rc-network
Modified: uClinux/trunk/uClinux-dist/vendors/Digium/S800I/rc-network
URL: http://svn.digium.com/view/aadk/uClinux/trunk/uClinux-dist/vendors/Digium/S800I/rc-network?view=diff&rev=290&r1=289&r2=290
==============================================================================
--- uClinux/trunk/uClinux-dist/vendors/Digium/S800I/rc-network (original)
+++ uClinux/trunk/uClinux-dist/vendors/Digium/S800I/rc-network Fri Mar 30 16:32:05 2007
@@ -1,4 +1,4 @@
-cat /etc/asterisk/networking.conf | grep -v "^[;\[]" | tr -d ' ' > /tmp/network.conf.parsed
+grep -v "^[;\[]" /etc/asterisk/networking.conf | tr -d ' ' > /tmp/network.conf.parsed
. /tmp/network.conf.parsed
rm -f /tmp/network.conf.parsed
More information about the aadk-commits
mailing list