package/base-files: call preinit_ip_deconfig before processing init on
[openwrt.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
This page took 0.039171 seconds and 5 git commands to generate.