boot: make use of kmodloader if it is available
[openwrt.git] / package / base-files / files / lib / preinit / 90_mount_no_jffs2
1 #!/bin/sh
2 # Copyright (C) 2006-2010 OpenWrt.org
3 # Copyright (C) 2010 Vertical Communications
4
5 do_mount_no_jffs2() {
6     check_skip || {
7         mount_no_jffs2 && pi_mount_skip_next=true
8     }
9 }
10
11 boot_hook_add preinit_mount_root do_mount_no_jffs2
12