ath5k: add an upstream patch to fix a memory leak
[openwrt.git] / package / base-files / files / lib / preinit / 20_check_jffs2_ready
1 #!/bin/sh
2 # Copyright (C) 2006-2010 OpenWrt.org
3 # Copyright (C) 2010 Vertical Communications
4
5 mount_no_jffs2() {
6 echo "jffs2 not ready yet; using ramdisk"
7 ramoverlay
8 }
9
10 check_for_jffs2() {
11 check_skip || {
12 jffs2_ready || {
13 mount_no_jffs2 && pi_mount_skip_next=true
14 }
15 }
16 }
17
18 boot_hook_add preinit_mount_root check_for_jffs2
19
This page took 0.053903 seconds and 5 git commands to generate.