From: Ben Gras Date: Mon, 4 Jul 2005 13:30:55 +0000 (+0000) Subject: Guard /usr/adm/wtmp for shutdown -C check X-Git-Tag: v3.1.0~649 X-Git-Url: http://zhaoyanbai.com/repos/doc/tz-art.htm?a=commitdiff_plain;h=e17ced44ee0b51b23934038e039002d3ac587f09;p=minix.git Guard /usr/adm/wtmp for shutdown -C check --- 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."