[package] base-files: implement "reqopts" parameter for dhcp interfaces to specify...
[openwrt.git] / package / base-files / files / lib / preinit / 99_10_run_init
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
This page took 0.03888 seconds and 5 git commands to generate.