aboutsummaryrefslogtreecommitdiffstats
path: root/include/paths.h
diff options
context:
space:
mode:
authorGordon Tetlow <gordon@FreeBSD.org>2003-06-29 17:53:48 +0000
committerGordon Tetlow <gordon@FreeBSD.org>2003-06-29 17:53:48 +0000
commita3ba4c65fd0783dab09e4e3f5ac8967728569cc2 (patch)
treeee59a96fbce376aed725c236e135967facd297a2 /include/paths.h
parent09f49aab843136b36644e57acfa3a727098016e9 (diff)
downloadsrc-a3ba4c65fd0783dab09e4e3f5ac8967728569cc2.tar.gz
src-a3ba4c65fd0783dab09e4e3f5ac8967728569cc2.zip
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>
Notes
Notes: svn path=/head/; revision=117031
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 c9c156381503..33d47ed9f67a 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"