###############################################################################
##
## ybin (YaBoot INstaller) installs/updates the yaboot bootloader.
-## Copyright (C) 2000, 2001, 2002 Ethan Benson
+## Copyright (C) 2000, 2001, 2002, 2003 Ethan Benson
##
## This program is free software; you can redistribute it and/or
## modify it under the terms of the GNU General Public License
fi
PRG="${0##*/}"
SIGINT="$PRG: Interrupt caught ... exiting"
-VERSION=1.3.8-rc3
+VERSION=1.3.12
DEBUG=0
VERBOSE=0
TMP="${TMPDIR:-/tmp}"
"$PRG $VERSION
Written by Ethan Benson
-Copyright (C) 2000, 2001, 2002 Ethan Benson
+Copyright (C) 2000, 2001, 2002, 2003 Ethan Benson
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
}
echo 1>&2 "$PRG: /dev/nvram: Permission denied"
echo 1>&2 "$PRG: Warning: nvram will not be updated"
nonvram=1
+ elif ! (dd if=/dev/nvram of=/dev/null bs=1 count=10 > /dev/null 2>&1) ; then
+ echo 1>&2 "$PRG: /dev/nvram: No such device"
+ echo 1>&2 "$PRG: Warning: nvram will not be updated"
+ nonvram=1
else
nonvram=1
echo 1>&2 "$PRG: Warning: Incompatible version of \`nvsetenv', nvram will not be updated"