500-set-default-path.patch 381 B

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