define _PATH_DEFPATH to be reasonable, including sbins and /usr/pkg
authorSimon Schubert <corecode@dragonflybsd.org>
Thu, 5 Feb 2009 09:37:45 +0000 (10:37 +0100)
committerSimon Schubert <corecode@dragonflybsd.org>
Thu, 5 Feb 2009 09:56:58 +0000 (10:56 +0100)
sh already had this path set as default, but only sh.  Now everybody
using _PATH_DEFPATH will get the right thing.

include/paths.h

index 37394e9..36ad9b8 100644 (file)
@@ -42,7 +42,7 @@
 #include <sys/paths.h> /* dev paths */
 
 /* Default search path. */
-#define        _PATH_DEFPATH   "/usr/bin:/bin"
+#define        _PATH_DEFPATH   "/bin:/sbin:/usr/bin:/usr/sbin:/usr/pkg/bin:/usr/pkg/sbin"
 /* All standard utilities path. */
 #define        _PATH_STDPATH \
        "/usr/bin:/bin:/usr/sbin:/sbin:"