From 5114761edeb50c00a21a84e861ac273231f47b34 Mon Sep 17 00:00:00 2001 From: gordon Date: Sun, 29 Jun 2003 17:53:48 +0000 Subject: 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 --- include/paths.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/paths.h') 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" -- cgit v1.1