Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KSFEB-00022c-Em for mharc-grub-devel@gnu.org; Sun, 10 Aug 2008 14:01:15 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSFE9-000217-OK for grub-devel@gnu.org; Sun, 10 Aug 2008 14:01:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSFE8-0001ys-7v for grub-devel@gnu.org; Sun, 10 Aug 2008 14:01:13 -0400 Received: from [199.232.76.173] (port=55813 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSFE8-0001yh-53 for grub-devel@gnu.org; Sun, 10 Aug 2008 14:01:12 -0400 Received: from smtp-vbr6.xs4all.nl ([194.109.24.26]:3269) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KSFE7-0007tE-Np for grub-devel@gnu.org; Sun, 10 Aug 2008 14:01:11 -0400 Received: from localhost.localdomain (249-174.surfsnel.dsl.internl.net [145.99.174.249]) by smtp-vbr6.xs4all.nl (8.13.8/8.13.8) with ESMTP id m7AI16OT033725 for ; Sun, 10 Aug 2008 20:01:07 +0200 (CEST) (envelope-from mgerards@xs4all.nl) From: Marco Gerards To: The development of GRUB 2 References: Mail-Copies-To: mgerards@xs4all.nl Date: Sun, 10 Aug 2008 20:04:23 +0200 In-Reply-To: (bean123ch@gmail.com's message of "Wed, 6 Aug 2008 19:02:46 +0800") Message-ID: <87zlnkd9w8.fsf@xs4all.nl> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by XS4ALL Virus Scanner X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.6-4.9 Subject: Re: [PATCH] New command checktime 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: Sun, 10 Aug 2008 18:01:13 -0000 Hi, Bean writes: > I implement this command for grub4dos some time ago, now it's ported to grub2. > > Usage: > > checktime min hour day_of_month month day_of_week Personally I would prefer it if it worked a bit more GRUB2/bash like. So can you make this variables? For example: if ($WEEKDAY = Sunday); then ... fi The same can be done for all week number, day number, year, etc, etc. The advantage of this is that many users are familiar with such syntax and it will give them more control. Furthermore, this is what I intended with the scripting support in the first place. So can you please follow such scheme? -- Marco