summaryrefslogtreecommitdiff
path: root/package/base-files/files.old/lib/preinit/90_mount_no_jffs2
blob: d8ad4ae119845fb1fda561f6070d17aaddc3be0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
# Copyright (C) 2006-2010 OpenWrt.org
# Copyright (C) 2010 Vertical Communications

do_mount_no_jffs2() {
    check_skip || {
	mount_no_jffs2 && pi_mount_skip_next=true
    }
}

boot_hook_add preinit_mount_root do_mount_no_jffs2