Re: [OpenWrt-Devel] [PATCH] refactoring ifconfig-ip , cleanups, /etc/preinit

2008-05-22 Thread Mike Baker
On Sat, May 17, 2008 at 06:46:23PM +0200, Bastian Bittorf wrote: wouldt it be better (for understanding) to do something like: while read NUL MEM NUL; do [ $MEM != used: ] { MEM=$(( $MEM / 2 )) # filling var MEM with break

[OpenWrt-Devel] [PATCH] refactoring ifconfig-ip , cleanups, /etc/preinit

2008-05-17 Thread Bastian Bittorf
first base-file which now can work with ip and ifconfig some cleanups for better reading. can anyone explain, what the size-awk thing makes really? bye, Bastian [EMAIL PROTECTED] Index: package/base-files/files/etc/preinit === ---

Re: [OpenWrt-Devel] [PATCH] refactoring ifconfig-ip , cleanups, /etc/preinit

2008-05-17 Thread Florian Fainelli
Hi Bastian, Le Saturday 17 May 2008 18:00:13 Bastian Bittorf, vous avez écrit : first base-file which now can work with ip and ifconfig some cleanups for better reading. can anyone explain, what the size-awk thing makes really? This awk call calculates the half of the available RAM to later