--- mandrake_everytime Fri Feb 20 10:31:26 2001 +++ mandrake_everytime Fri Feb 15 12:05:40 2002 @@ -3,6 +3,19 @@ # (c) MandrakeSoft, Chmouel Boudjnah # $Id: mandrake-8.0.diff 185 2002-03-15 22:49:46Z bistr-o-math $ +# +# If the file /nvramboot exists, we have to remove this file +# and to shutdown the computer +# +if test -f /nvramboot ; then + rm -f /nvramboot + sync + sync + shutdown -h now + # now sleep `forever' (let shutdown -h do its work) + sleep 5h +fi + . /etc/rc.d/init.d/functions [ -e /etc/sysconfig/system ] && . /etc/sysconfig/system