forked from Ivasoft/openwrt
preinit: use only the image config options
The pi_* variables and the fs_failsafe_wait_timeout variable are set by the CONFIG_TARGET_PREINIT_* config options. No need to maintain the same values twice. All other fs_ variables were never used. Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
committed by
John Crispin
parent
14e0f057c8
commit
5fadd4397b
@@ -6,23 +6,6 @@
|
||||
|
||||
export PATH="%PATH%"
|
||||
|
||||
pi_ifname=
|
||||
pi_ip=192.168.1.1
|
||||
pi_broadcast=192.168.1.255
|
||||
pi_netmask=255.255.255.0
|
||||
|
||||
fs_failsafe_ifname=
|
||||
fs_failsafe_ip=192.168.1.1
|
||||
fs_failsafe_broadcast=192.168.1.255
|
||||
fs_failsafe_netmask=255.255.255.0
|
||||
|
||||
fs_failsafe_wait_timeout=2
|
||||
|
||||
pi_suppress_stderr="y"
|
||||
pi_init_suppress_stderr="y"
|
||||
pi_init_path="%PATH%"
|
||||
pi_init_cmd="/sbin/init"
|
||||
|
||||
. /lib/functions.sh
|
||||
. /lib/functions/preinit.sh
|
||||
. /lib/functions/system.sh
|
||||
|
||||
Reference in New Issue
Block a user