Module Name: src
Committed By: christos
Date: Sat Nov 6 23:11:43 UTC 2021
Modified Files:
src/etc: rc.subr
Log Message:
Set the path unconditionally to what rc sets it to, so that when running
individual scripts like 'env - /etc/rc.d/syslogd restart' programs like
rcorder are found.
To generate a diff of this commit:
cvs rdiff -u -r1.106 -r1.107 src/etc/rc.subr
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/etc/rc.subr
diff -u src/etc/rc.subr:1.106 src/etc/rc.subr:1.107
--- src/etc/rc.subr:1.106 Sun Dec 20 16:30:28 2020
+++ src/etc/rc.subr Sat Nov 6 19:11:43 2021
@@ -1,4 +1,4 @@
-# $NetBSD: rc.subr,v 1.106 2020/12/20 21:30:28 uwe Exp $
+# $NetBSD: rc.subr,v 1.107 2021/11/06 23:11:43 christos Exp $
#
# Copyright (c) 1997-2011 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -46,6 +46,7 @@ _rc_postprocessor_fd=
_rc_kill_ntries=
"
+export PATH=/sbin:/bin:/usr/sbin:/usr/bin
#
# functions
# ---------