add preinit modularization work by Daniel Dickinson (cshore)
[openwrt/svn-archive/archive.git] / package / base-files / files / lib / firstboot / 10_reset_has_mini_fo
1 #!/bin/sh
2
3 # Copyright (C) 2006-2010 OpenWrt.org
4 # Copyright (C) 2010 Vertical Communications
5
6 reset_check_for_mini_fo() {
7 if grep -q mini_fo /proc/filesystems; then
8 reset_has_fo=true
9 fi
10 }
11
12 boot_hook_add jffs2reset reset_check_for_mini_fo