OpenWrt – Blame information for rev 2
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | #!/bin/sh |
2 | # Copyright (C) 2006-2016 OpenWrt.org |
||
3 | # Copyright (C) 2010 Vertical Communications |
||
4 | |||
5 | [ -z "$PREINIT" ] && exec /sbin/init |
||
6 | |||
7 | export PATH="%PATH%" |
||
8 | |||
9 | . /lib/functions.sh |
||
10 | . /lib/functions/preinit.sh |
||
11 | . /lib/functions/system.sh |
||
12 | |||
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 |
||
18 | |||
19 | for pi_source_file in /lib/preinit/*; do |
||
20 | . $pi_source_file |
||
21 | done |
||
22 | |||
23 | boot_run_hook preinit_essential |
||
24 | |||
25 | pi_mount_skip_next=false |
||
26 | pi_jffs2_mount_success=false |
||
27 | pi_failsafe_net_message=false |
||
28 | |||
29 | boot_run_hook preinit_main |