Root/
| 1 | #!/bin/sh |
| 2 | # Copyright (C) 2006 OpenWrt.org |
| 3 | # Copyright (C) 2010 Vertical Communications |
| 4 | |
| 5 | run_init() { |
| 6 | preinit_echo "- init -" |
| 7 | preinit_ip_deconfig |
| 8 | if [ "$pi_init_suppress_stderr" = "y" ]; then |
| 9 | exec env - PATH=$pi_init_path $pi_init_env $pi_init_cmd 2>&0 |
| 10 | else |
| 11 | exec env - PATH=$pi_init_path $pi_init_env $pi_init_cmd |
| 12 | fi |
| 13 | } |
| 14 | |
| 15 | boot_hook_add preinit_main run_init |
| 16 | |
| 17 |
