summaryrefslogtreecommitdiff
path: root/package/base-files/image-config.in
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-11-22 19:06:20 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-11-22 19:06:20 +0000
commitb61e77aeddfdcb222d26a0bb5fe3145f98b9b675 (patch)
tree7a11eda3c8a7b0d538eb4d77259c6e3229c751b6 /package/base-files/image-config.in
parent576621f1e353339fe81ece6cff7e8bcd12cbc7b8 (diff)
downloadmtk-20170518-b61e77aeddfdcb222d26a0bb5fe3145f98b9b675.zip
mtk-20170518-b61e77aeddfdcb222d26a0bb5fe3145f98b9b675.tar.gz
mtk-20170518-b61e77aeddfdcb222d26a0bb5fe3145f98b9b675.tar.bz2
base-files: use the correct path in case of modified preinit options
If the user sets any preinit options in .config, the wrong path may get applied due to wrong default value in image-config.in and due to Makefile writing also the unchanged options into 00_preinit.conf Modify the default path in image-config.in to match the current default path set by r47080. Also modify the fall-back default in Makefile. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> SVN-Revision: 47590
Diffstat (limited to 'package/base-files/image-config.in')
-rw-r--r--package/base-files/image-config.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/image-config.in b/package/base-files/image-config.in
index c1c0924..3dfbedc 100644
--- a/package/base-files/image-config.in
+++ b/package/base-files/image-config.in
@@ -99,7 +99,7 @@ menuconfig INITOPT
config TARGET_INIT_PATH
string
prompt "PATH for regular boot" if INITOPT
- default "/bin:/sbin:/usr/bin:/usr/sbin"
+ default "/usr/sbin:/usr/bin:/sbin:/bin"
help
Default PATH used during normal operation