diff options
-rw-r--r-- | perl-install/NEWS | 2 | ||||
-rwxr-xr-x | perl-install/standalone/finish-install | 6 |
2 files changed, 7 insertions, 1 deletions
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); |