From 4f441032f26c8334c49969ac7eaa37752c1250ee Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 19 Mar 2008 18:42:27 +0000 Subject: allow to use a simplified time step (no timezone selection, ntp settings as advanced) --- perl-install/NEWS | 2 ++ perl-install/standalone/finish-install | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index 91452f175..9488b9252 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -2,6 +2,8 @@ - finish-install: o write modprobe.conf after configuring network o do not configure network if already up + o allow to use a simplified time step + (no timezone selection, ntp settings as advanced) Version 10.16.1 - 18 March 2008 diff --git a/perl-install/standalone/finish-install b/perl-install/standalone/finish-install index d817c8fda..80700a4b6 100755 --- a/perl-install/standalone/finish-install +++ b/perl-install/standalone/finish-install @@ -58,7 +58,11 @@ sub ask_timezone() { require timezone; my $t = timezone::read(); $t->{timezone} = timezone::bestTimezone($locale->{country}) if $locale->{country}; - any::configure_timezone($in, $t, 'ask_gmt'); + if (lc($conf{TIMEZONE}) eq 'simplified') { + any::configure_time_more($in, $t, 'hide_ntp'); + } else { + any::configure_timezone($in, $t, 'ask_gmt'); + } timezone::write($t); #- reload sys clock from hc once we know the real timezone timezone::reload_sys_clock($t); -- cgit v1.2.1