da6b9ae0ce0ae6a270f8c7bc6152cf09efbee15d
[openwrt/openwrt.git] / package / network / services / dropbear / patches / 500-set-default-path.patch
1 --- a/options.h
2 +++ b/options.h
3 @@ -352,7 +352,9 @@ 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 +#ifndef DEFAULT_PATH
8 #define DEFAULT_PATH "/usr/bin:/bin"
9 +#endif
10
11 /* Some other defines (that mostly should be left alone) are defined
12 * in sysoptions.h */