summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc/preinit
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2016-08-07 22:21:34 +0200
committerJohn Crispin <john@phrozen.org>2016-08-10 03:04:08 +0200
commit5fadd4397b395e5760f3c86751b711688efca6e9 (patch)
treecdccc301257d67b0c03fea0602db5ae6e211f21e /package/base-files/files/etc/preinit
parent14e0f057c8629ca658eb0e007c4f0e3f76b06f44 (diff)
downloadmtk-20170518-5fadd4397b395e5760f3c86751b711688efca6e9.zip
mtk-20170518-5fadd4397b395e5760f3c86751b711688efca6e9.tar.gz
mtk-20170518-5fadd4397b395e5760f3c86751b711688efca6e9.tar.bz2
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>
Diffstat (limited to 'package/base-files/files/etc/preinit')
-rwxr-xr-xpackage/base-files/files/etc/preinit17
1 files changed, 0 insertions, 17 deletions
diff --git a/package/base-files/files/etc/preinit b/package/base-files/files/etc/preinit
index 181b332..829574f 100755
--- a/package/base-files/files/etc/preinit
+++ b/package/base-files/files/etc/preinit
@@ -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