53dfabb3e87b0a077a0353726a972a799a2069b2
[openwrt/svn-archive/archive.git] / dropbear / patches / 500-set-default-path.patch
1 --- /a/options.h 2011-11-08 09:48:15.000000000 -0300
2 +++ /b/options.h 2012-07-05 12:45:49.296635776 -0300
3 @@ -292,7 +297,7 @@
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 */