[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] New command checktime
From: |
Bean |
Subject: |
Re: [PATCH] New command checktime |
Date: |
Fri, 8 Aug 2008 01:52:07 +0800 |
On Thu, Aug 7, 2008 at 7:19 PM, Bean <address@hidden> wrote:
> On Thu, Aug 7, 2008 at 6:21 PM, Robert Millan <address@hidden> wrote:
>> On Thu, Aug 07, 2008 at 04:05:04PM +0800, Bean wrote:
>>> * conf/i386-ieee1275.rmk (pkglib_MODULES): Add chktime.mod.
>>> (chktime_mod_SOURCES): New macro.
>>> (chktime_mod_CFLAGS): Likewise.
>>> (chktime_mod_LDFLAGS): Likewise.
>>
>> Uhm I'm not sure those have a PC-compatible CMOS ...
>
> Hi,
>
> Yes, I try it with olpc, it works.
Hi,
I have seperated the commands as nyu suggests in the IRC.
1. date [MMDDhhmm[[CC]YY][.ss]]
Set/Display current datetime, to set date, The format is the same as
the date command, you can also use - or : to seperate the numbers. For
example:
date 0902
Sep, 2.
date 10-05-13-15
Oct 5, 13:15
2. crontab min hour day_of_month month day_of_week
It's the same as the previous checktime command, except that it
doesn't display the current date when no parameter is provided.
2008-08-07 Bean <address@hidden>
* conf/i386-pc.rmk (pkglib_MODULES): Add datetime.mod, date.mod
and crontab.mod.
(datetime_mod_SOURCES): New macro.
(datetime_mod_CFLAGS): Likewise.
(datetime_mod_LDFLAGS): Likewise.
(date_mod_SOURCES): Likewise.
(date_mod_CFLAGS): Likewise.
(date_mod_LDFLAGS): Likewise.
(crontab_mod_SOURCES): Likewise.
(crontab_mod_CFLAGS): Likewise.
(crontab_mod_LDFLAGS): Likewise.
* conf/i386-coreboot.rmk (pkglib_MODULES): Add datetime.mod, date.mod
and crontab.mod.
(datetime_mod_SOURCES): New macro.
(datetime_mod_CFLAGS): Likewise.
(datetime_mod_LDFLAGS): Likewise.
(date_mod_SOURCES): Likewise.
(date_mod_CFLAGS): Likewise.
(date_mod_LDFLAGS): Likewise.
(crontab_mod_SOURCES): Likewise.
(crontab_mod_CFLAGS): Likewise.
(crontab_mod_LDFLAGS): Likewise.
* conf/i386-ieee1275.rmk (pkglib_MODULES): Add datetime.mod, date.mod
and crontab.mod.
(datetime_mod_SOURCES): New macro.
(datetime_mod_CFLAGS): Likewise.
(datetime_mod_LDFLAGS): Likewise.
(date_mod_SOURCES): Likewise.
(date_mod_CFLAGS): Likewise.
(date_mod_LDFLAGS): Likewise.
(crontab_mod_SOURCES): Likewise.
(crontab_mod_CFLAGS): Likewise.
(crontab_mod_LDFLAGS): Likewise.
* conf/i386-efi.rmk (pkglib_MODULES): Add datetime.mod, date.mod
and crontab.mod.
(datetime_mod_SOURCES): New macro.
(datetime_mod_CFLAGS): Likewise.
(datetime_mod_LDFLAGS): Likewise.
(date_mod_SOURCES): Likewise.
(date_mod_CFLAGS): Likewise.
(date_mod_LDFLAGS): Likewise.
(crontab_mod_SOURCES): Likewise.
(crontab_mod_CFLAGS): Likewise.
(crontab_mod_LDFLAGS): Likewise.
* conf/x86_64-efi.rmk (pkglib_MODULES): Add datetime.mod, date.mod
and crontab.mod.
(datetime_mod_SOURCES): New macro.
(datetime_mod_CFLAGS): Likewise.
(datetime_mod_LDFLAGS): Likewise.
(date_mod_SOURCES): Likewise.
(date_mod_CFLAGS): Likewise.
(date_mod_LDFLAGS): Likewise.
(crontab_mod_SOURCES): Likewise.
(crontab_mod_CFLAGS): Likewise.
(crontab_mod_LDFLAGS): Likewise.
* commands/date.c: New file.
* commands/crontab.c: Likewise.
* include/grub/datetime.h: Likewise.
* include/grub/i386/cmos.h: Likewise.
* kern/generic/get_dow.c: Likewise.
* kern/i386/datetime.c: Likewise.
* kern/efi/datetime.c: Likewise.
--
Bean
date.diff
Description: Text Data
- [PATCH] New command checktime, Bean, 2008/08/06
- Re: [PATCH] New command checktime, Robert Millan, 2008/08/06
- Re: [PATCH] New command checktime, Bean, 2008/08/06
- Re: [PATCH] New command checktime, Robert Millan, 2008/08/06
- Re: [PATCH] New command checktime, Bean, 2008/08/07
- Re: [PATCH] New command checktime, Robert Millan, 2008/08/07
- Re: [PATCH] New command checktime, Bean, 2008/08/07
- Re: [PATCH] New command checktime,
Bean <=
- Re: [PATCH] New command checktime, Colin D Bennett, 2008/08/07
- Re: [PATCH] New command checktime, Robert Millan, 2008/08/07
- Re: [PATCH] New command checktime, Bean, 2008/08/09
- Re: [PATCH] New command checktime, Isaac Dupree, 2008/08/09
- Re: [PATCH] New command checktime, Bean, 2008/08/09
- Re: [PATCH] New command checktime, Robert Millan, 2008/08/10
- Re: [PATCH] New command checktime, Bean, 2008/08/10
- Re: [PATCH] New command checktime, Isaac Dupree, 2008/08/10
- Re: [PATCH] New command checktime, Robert Millan, 2008/08/10
- Re: [PATCH] New command checktime, Robert Millan, 2008/08/07