Root/package/network/services/dropbear/patches/500-set-default-path.patch

1--- a/options.h
2+++ b/options.h
3@@ -297,7 +297,7 @@ be overridden at runtime with -I. 0 disa
4 #define DEFAULT_IDLE_TIMEOUT 0
5 
6 /* The default path. This will often get replaced by the shell */
7-#define DEFAULT_PATH "/usr/bin:/bin"
8+#define DEFAULT_PATH "/bin:/sbin:/usr/bin:/usr/sbin"
9 
10 /* Some other defines (that mostly should be left alone) are defined
11  * in sysoptions.h */
12

Archive Download this file



interactive