From 4e38cf12b36247f7c17b09e7ad1babee03e3d9e4 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Sun, 24 Jul 2005 01:17:32 +0000 Subject: [PATCH] Redirect touch stderr to /dev/null, error is unlikely and harmless in normal conditions but certain and irritating and harmless when booting from cd --- etc/rc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/rc b/etc/rc index 58c428ab0..50b496506 100755 --- a/etc/rc +++ b/etc/rc @@ -106,7 +106,8 @@ Mount $usr /usr failed -- Single user." fi # This file is necessary for above 'shutdown -C' check. - touch /usr/adm/wtmp + # (Silence stderr in case of running from cd.) + touch /usr/adm/wtmp 2>/dev/null if [ "$sflag" ] then -- 2.44.0