2010-01-25 17:11:17 +00: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 14:37:19 +00:00
|
|
|
preinit_ip_deconfig
|
2010-01-25 17:11:17 +00:00
|
|
|
break
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
boot_hook_add preinit_main initramfs_test
|
|
|
|
|