From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1M6yX6-0005LD-Ca for mharc-grub-devel@gnu.org; Wed, 20 May 2009 23:01:24 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M6yX4-0005J1-Rx for grub-devel@gnu.org; Wed, 20 May 2009 23:01:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M6yX0-0005EO-HD for grub-devel@gnu.org; Wed, 20 May 2009 23:01:22 -0400 Received: from [199.232.76.173] (port=41967 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6yX0-0005EE-5X for grub-devel@gnu.org; Wed, 20 May 2009 23:01:18 -0400 Received: from mail-px0-f179.google.com ([209.85.216.179]:42998) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M6yWz-0005Xo-NO for grub-devel@gnu.org; Wed, 20 May 2009 23:01:17 -0400 Received: by pxi9 with SMTP id 9so874791pxi.14 for ; Wed, 20 May 2009 20:01:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=olZldJKfTh4kPikHedYvvHacSHR/gxTHbEA+JTIAo7w=; b=REJTd+1VOzycEfTmwS6osG2lCSz3xHuGXRDmfUJCvsigpvezW9NQYDMkvmi9tdao85 JoaIXs+h9fPqydYjufYIQ/BMw9LQ47HIZaUZG4jCsZ9OAo0ulIesrKrpOW9my2qjmB89 17YHgDb1n7bCne2/czZdRT4ZJ0+LCeuMakBDg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=XoHPC5faZAhJMYnT+2OOhSLYbLpLnSf11vNdNR4QlWiMuAZIx2D3RfxpyCfFgAZjJt pw59VKDZiZzvSPA8H3QO4gaJrK1T5IhwaAPe3r2j4KeXsmSxz0QgIQJHZFHYenW8GH+5 iS3fH0pJxxX8vRNtpiuowc8UoeFehTbLYZM+o= MIME-Version: 1.0 Received: by 10.110.17.6 with SMTP id 6mr43617tiq.28.1242874874032; Wed, 20 May 2009 20:01:14 -0700 (PDT) In-Reply-To: <1f29b8940905201436n2b1400b7w102fda6d59a0a4da@mail.gmail.com> References: <1f29b8940905200743j4f8da5a8rf43fa7348878dc3a@mail.gmail.com> <1242833706.3392.1.camel@fz.local> <1f29b8940905201436n2b1400b7w102fda6d59a0a4da@mail.gmail.com> Date: Thu, 21 May 2009 11:01:14 +0800 Message-ID: From: Bean To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Datecheck command (date comparison) X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2009 03:01:23 -0000 Hi, Have you forgotten "insmod datehook" ? On Thu, May 21, 2009 at 5:36 AM, Chris Umphress wrote: > On Wed, May 20, 2009 at 10:35 AM, Felix Zielcke wrote: >> can't this just be done with the variables Bean introduced with his >> datehook stuff[0]? $YEAR, $MONTH, $DAY, $HOUR, $MINUTE, $SECOND and >> $WEEKDAY. >> Though I never used this myself. >> >> [0] http://lists.gnu.org/archive/html/grub-devel/2008-08/msg00274.html > > Hmm, it would have been nice to know about this before. I haven't > succeeded in getting these variables to work so far today though. The > "set" command doesn't reflect that they exist, "echo $WEEKDAY" just > shows a blank line, and an if statement utilizing the variables always > returns "error: false" > > Am I missing something? > > -- > Chris Umphress > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Bean