b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | # Copyright (C) 2006 OpenWrt.org |
2 | # Copyright (C) 2010 Vertical Communications | ||||
3 | |||||
4 | initramfs_test() { | ||||
5 | if [ -n "$INITRAMFS" ]; then | ||||
6 | boot_run_hook initramfs | ||||
7 | preinit_ip_deconfig | ||||
8 | break | ||||
9 | fi | ||||
10 | } | ||||
11 | |||||
12 | boot_hook_add preinit_main initramfs_test |