diff options
author | gordon <gordon@FreeBSD.org> | 2003-06-29 17:53:48 +0000 |
---|---|---|
committer | gordon <gordon@FreeBSD.org> | 2003-06-29 17:53:48 +0000 |
commit | 5114761edeb50c00a21a84e861ac273231f47b34 (patch) | |
tree | ee59a96fbce376aed725c236e135967facd297a2 /include | |
parent | 4ad1bccf132b3c564df8fe00da9bd5e9124ef9a5 (diff) | |
download | FreeBSD-src-5114761edeb50c00a21a84e861ac273231f47b34.zip FreeBSD-src-5114761edeb50c00a21a84e861ac273231f47b34.tar.gz |
Convert fsck and mount to using execvP to find fsck_foo and mount_foo.
This simplifies the code path and makes the default path easy to override
in the /rescue case.
Submitted by: Tim Kientzle <kientzle@acm.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/paths.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/paths.h b/include/paths.h index c9c1563..33d47ed 100644 --- a/include/paths.h +++ b/include/paths.h @@ -44,6 +44,9 @@ /* All standard utilities path. */ #define _PATH_STDPATH \ "/usr/bin:/bin:/usr/sbin:/sbin:" +/* Locate system binaries */ +#define _PATH_SYSPATH \ + "/sbin:/usr/sbin" #define _PATH_AUTHCONF "/etc/auth.conf" #define _PATH_BSHELL "/bin/sh" |