We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 588eb9d commit 51ad231Copy full SHA for 51ad231
overlay_rootfs/etc/init.d/S38atomcam
@@ -14,6 +14,7 @@ case "$1" in
14
if [ ! -f /atom/configs/.product_config -o ! -f /atom/configs/.user_config ] ; then
15
mount -t jffs2 /dev/mtdblock6 /mnt
16
cp -p /mnt/.* /mnt/* /atom/configs 2> /dev/null
17
+ echo 3 > /proc/sys/vm/drop_caches
18
umount /mnt
19
sync
20
fi
overlay_rootfs/scripts/webcmd.sh
@@ -108,6 +108,7 @@ do
108
}
109
' POS="$pos" /atom/configs/.user_config > /atom/configs/.user_config_new
110
mv -f /atom/configs/.user_config_new /atom/configs/.user_config
111
112
echo "$cmd OK" >> /var/run/webres
113
cmd=""
114
0 commit comments