Openwrt tips for using devices with low ram (32 Mbytes or less)

Disable LOGS (in ram)

/bin/echo 0 4 1 7 > /proc/sys/kernel/printk ## disable kernel logs
/etc/init.d/log disable ## disable system logs

edit "/etc/inittab" and comment out "askconsole"

::sysinit:/etc/init.d/rcS S boot
::shutdown:/etc/init.d/rcS K shutdown
#::askconsole:/bin/ash --login

install Zram Swap

opkg update
opkg install zram-swap