[package] base-files: prevent possible sourcing of JFFS2 meta files when merging...
[openwrt/svn-archive/archive.git] / package / base-files / files / lib / preinit / 70_initramfs_test
1 #!/bin/sh
2 # Copyright (C) 2006 OpenWrt.org
3 # Copyright (C) 2010 Vertical Communications
4
5 initramfs_test() {
6 if [ -n "$INITRAMFS" ]; then
7 boot_run_hook initramfs
8 preinit_ip_deconfig
9 break
10 fi
11 }
12
13 boot_hook_add preinit_main initramfs_test
14