summaryrefslogtreecommitdiffstats
path: root/include/paths.h
diff options
context:
space:
mode:
authorgordon <gordon@FreeBSD.org>2003-06-29 17:53:48 +0000
committergordon <gordon@FreeBSD.org>2003-06-29 17:53:48 +0000
commit5114761edeb50c00a21a84e861ac273231f47b34 (patch)
treeee59a96fbce376aed725c236e135967facd297a2 /include/paths.h
parent4ad1bccf132b3c564df8fe00da9bd5e9124ef9a5 (diff)
downloadFreeBSD-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/paths.h')
-rw-r--r--include/paths.h3
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"
OpenPOWER on IntegriCloud