From e17ced44ee0b51b23934038e039002d3ac587f09 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Mon, 4 Jul 2005 13:30:55 +0000 Subject: [PATCH] Guard /usr/adm/wtmp for shutdown -C check --- etc/rc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etc/rc b/etc/rc index 8978c1a4b..646dbf78d 100755 --- a/etc/rc +++ b/etc/rc @@ -104,6 +104,9 @@ Mount $usr /usr failed -- Single user." mount $usr /usr fi + # This file is necessary for above 'shutdown -C' check. + touch /usr/adm/wtmp + if [ "$sflag" ] then echo "Single user." -- 2.44.0