- I haven't seen any improvement with it, only slowing things down.
Things that need lots of RAM will need real swap anyway.
- it was added improperly and gets removed the first time 'update-modules'
is ran anyway (any package update can do it)
echo 'blacklist rtl8192cu' >> /etc/modprobe.conf
fi
-# add Midi Module and zram
-echo snd-seq>>/etc/modules
-echo zram>>/etc/modules
+# add Midi module
+echo snd-seq > /etc/modutils/snd-seq
+# zram doesn't seem to help, disabled
+# echo zram > /etc/modutils/zram
+
+/usr/sbin/update-modules
# get rid of some dirs in /media that OE creates but are unlikely to be used
rmdir /media/card /media/cf /media/mmc1 /media/net /media/realroot /media/union 2> /dev/null
RDEPENDS = "pandora-scripts"
-PR = "r24"
+PR = "r25"
inherit update-rc.d
INITSCRIPT_NAME = "pandora-state"
sed -n '13p' /etc/pandora/conf/nubs.state > /proc/pandora/nub0/mbutton_delay
sed -n '14p' /etc/pandora/conf/nubs.state > /proc/pandora/nub1/mbutton_delay
- # Enable ZRAM Swap
- echo "Enabling ZRAM Swap"
- mkswap /dev/zram0
- swapon -p 5 /dev/zram0
+ # Enable ZRAM Swap if user has enabled the module in /etc/modules
+ if [ -e /dev/zram0 ]; then
+ echo "Enabling ZRAM Swap"
+ mkswap /dev/zram0
+ swapon -p 5 /dev/zram0
+ fi
# set audio powerdown delay (ms)
if [ -e /sys/devices/platform/soc-audio/PCM1773/pmdown_time ]; then