Impossible to set date in 11.3.0?

Walter Bender walter.bender at gmail.com
Sat Aug 25 22:04:07 EDT 2012


On Sat, Aug 25, 2012 at 7:08 PM, Jerry Vonau <jvonau at shaw.ca> wrote:
> On Sat, 2012-08-25 at 18:25 -0400, Walter Bender wrote:
>> File a ticket and someone may jump in to tackle it.
>>
>> -walter
>>
>
> see http://dev.laptop.org/ticket/11004

Thx.  That covers part of the issue, but not the Sugar control panel part.

-walter

>
>
>> On Sat, Aug 25, 2012 at 3:24 PM, Martin Langhoff
>> <martin.langhoff at gmail.com> wrote:
>> > On Sat, Aug 25, 2012 at 2:26 PM, C. Scott Ananian <cscott at laptop.org> wrote:
>> >> Surely we can distinguish secured from unsecured laptops and allow
>> >> unsecured laptops to set the date?
>> >
>> > Sure. Nobody's done the UI work for that, Sugar-side.
>> >
>> >  - In all builds, hwclock is available from cli
>> >  - On 11.3.x  and earler builds you can install the appropriate gnome
>> > control panel.
>> >  - On 12.x.y builds, gnome control panels aren't so easy to make work,
>> > 'cause they need clutter.
>> >
>> > Also, we should run ntp by default, or at least ntpdate on an NM hook.
>
> We do that in Australia builds, need nptdate to be added to the image,
> setup /etc/sysconfig/ntpdate and the NM hook.
>
> # toggle setting the rtc
> sed -i -e "s/SYNC_HWCLOCK=no/SYNC_HWCLOCK=yes/" /etc/sysconfig/ntpdate
>
> # call ntpdate when connected
> cat << EOF > /etc/NetworkManager/dispatcher.d/10-ntpdate
> #!/bin/sh
>
> if [ "\$2" = "up" ]; then
>     if [ ! -e /tmp/ntpdate ]; then
>         touch /tmp/ntpdate
>         /sbin/service ntpdate restart || :
>     fi
> fi
> EOF
> chmod 755 /etc/NetworkManager/dispatcher.d/10-ntpdate
>
> Jerry
>
>



-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org



More information about the Devel mailing list