3 # Copyright (C) 2006-2010 OpenWrt.org
4 # Copyright (C) 2010 Vertical Communications
7 # try to get rid of /tmp/root
8 # this will almost always fail
9 umount -l /tmp/root 2>&-
10 grep -q overlay /proc/filesystems && {
15 ) | while read FILE; do
16 [ -z "$FILE" ] && break
17 if ls -la "$FILE" 2>&- | grep -q '(overlay-whiteout)'; then
25 boot_hook_add switch2jffs with_fo_cleanup