2010-01-26 01:11:17 +08:00
|
|
|
#!/bin/sh
|
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
# Copyright (C) 2010 Vertical Communications
|
|
|
|
|
|
|
|
initramfs_test() {
|
|
|
|
if [ -n "$INITRAMFS" ]; then
|
|
|
|
boot_run_hook initramfs
|
2010-03-12 22:37:19 +08:00
|
|
|
preinit_ip_deconfig
|
2010-01-26 01:11:17 +08:00
|
|
|
break
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
boot_hook_add preinit_main initramfs_test
|
|
|
|
|