2 # Copyright (C) 2006-2016 OpenWrt.org
3 # Copyright (C) 2010 Vertical Communications
5 [ -z "$PREINIT" ] && exec /sbin
/init
10 .
/lib
/functions
/preinit.sh
11 .
/lib
/functions
/system.sh
13 boot_hook_init preinit_essential
14 boot_hook_init preinit_main
15 boot_hook_init failsafe
16 boot_hook_init initramfs
17 boot_hook_init preinit_mount_root
19 for pi_source_file
in /lib
/preinit
/*; do
23 boot_run_hook preinit_essential
25 pi_mount_skip_next
=false
26 pi_jffs2_mount_success
=false
27 pi_failsafe_net_message
=false
29 boot_run_hook preinit_main