Date: Sun, 6 Dec 1998 19:04:45 +0100 (CET) From: Cejka Rudolf <cejkar@dcse.fee.vutbr.cz> To: freebsd-current@FreeBSD.ORG (freebsd-current@freebsd.org) Subject: New bootloader - better without localized time? Message-ID: <199812061804.TAA11295@kazi.dcse.fee.vutbr.cz>
next in thread | raw e-mail | index | archive | help
I'm trying new bootloader. One of first things I saw was localized
time in bootloader header. I think, this is too early to display
localized datas (?).
Is it possible to add this patch in /sys/boot/i386/loader/newvers.sh?
(It is done in similar way as it is in /sys/conf/newvers.sh for kernel
where localized time isn't ?either/too/neither?)
--- newvers.sh.orig Sun Dec 6 18:22:55 1998
+++ newvers.sh Sun Dec 6 18:44:10 1998
@@ -35,6 +35,7 @@
#
# @(#)newvers.sh 8.1 (Berkeley) 4/20/94
+LC_TIME=C; export LC_TIME
u=${USER-root} h=`hostname` t=`date`
#r=`head -n 6 $1 | tail -n 1 | awk -F: ' { print $1 } '`
r=`awk -F: ' /^[0-9]\.[0-9]+:/ { print $1; exit }' $1`
--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--
Rudolf Cejka (cejkar@dcse.fee.vutbr.cz; http://www.fee.vutbr.cz/~cejkar)
Technical University of Brno, Faculty of El. Engineering and Comp. Science
Bozetechova 2, 612 66 Brno, Czech Republic
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812061804.TAA11295>
