From 47e93d95e818957dc1c06b211f6739af3b51563a Mon Sep 17 00:00:00 2001 From: nia Date: Sun, 25 Dec 2022 23:58:50 +0000 Subject: [PATCH] As with normal users, include /usr/games in the default PATH of root --- etc/root/dot.profile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/etc/root/dot.profile b/etc/root/dot.profile index 49a6433de408..5735fde4910a 100644 --- a/etc/root/dot.profile +++ b/etc/root/dot.profile @@ -1,9 +1,10 @@ -# $NetBSD: dot.profile,v 1.34 2022/07/21 07:51:12 kre Exp $ +# $NetBSD: dot.profile,v 1.35 2022/12/25 23:58:50 nia Exp $ case "${PATH}" in /rescue:*) ;; # leave it alone, user can change manually (if required) *) export PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin - export PATH=${PATH}:/usr/X11R7/bin:/usr/local/sbin:/usr/local/bin + export PATH=${PATH}:/usr/games:/usr/X11R7/bin + export PATH=${PATH}:/usr/local/sbin:/usr/local/bin ;; esac