Skip to content

Commit 835724e

Browse files
committed
clear cache for more memory
1 parent b521bde commit 835724e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

trunk/user/scripts/dev_init.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,9 @@ echo 1 >/sys/class/leds/blue\:status/brightness
121121
echo 0 >/sys/class/leds/green\:status/brightness
122122
echo 0 >/sys/class/leds/red\:status/brightness
123123

124+
# clear cache for more memory
125+
echo 3 > /proc/sys/vm/drop_caches
126+
124127
# perform start script
125128
if [ -x /etc/storage/start_script.sh ] ; then
126129
/etc/storage/start_script.sh

0 commit comments

Comments
 (0)