summaryrefslogtreecommitdiffstats
path: root/time_wizard/time.wiz
diff options
context:
space:
mode:
Diffstat (limited to 'time_wizard/time.wiz')
-rw-r--r--time_wizard/time.wiz247
1 files changed, 8 insertions, 239 deletions
diff --git a/time_wizard/time.wiz b/time_wizard/time.wiz
index d6f546d9..31c46f8a 100644
--- a/time_wizard/time.wiz
+++ b/time_wizard/time.wiz
@@ -7,6 +7,8 @@
wizardTitle="Time wizard"
imagePosition="top"
defaultImage="__WIZ_HOME__/time_wizard/images/Time"
+ perlModule="__WIZ_HOME__/time_wizard/scripts/NTPConf.pm"
+ rpm="ntp"
>
<Variable
@@ -53,28 +55,11 @@
name="welcome"
executionLevel="NORMAL"
nextFinish="false"
+ jumpPage="choice_setting"
canBack="true"
canCancel="true"
>
- <Target
- targetName="choice_setting"
- jumpIndex="0"
- >
- </Target>
-
- <Target
- targetName="must be root"
- jumpIndex="1"
- >
- </Target>
-
- <Target
- targetName="error_need_net"
- jumpIndex="2"
- >
- </Target>
-
<Info
helpText="Time configuration wizard"
>
@@ -100,25 +85,12 @@
<Page
helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-time.html"
name="choice_setting"
- jumpScript="__WIZ_HOME__/time_wizard/scripts/handle_local_internet.sh"
+ func="chooser"
executionLevel="NORMAL"
nextFinish="false"
canBack="true"
canCancel="true"
>
-
- <Target
- targetName="no_tools"
- jumpIndex="4"
- >
- </Target>
-
- <Target
- targetName="choose_server"
- jumpIndex="3"
- >
- </Target>
-
<Target
targetName="ciao"
jumpIndex="1"
@@ -126,7 +98,7 @@
</Target>
<Target
- targetName="invisible"
+ targetName="choose_server"
jumpIndex="2"
>
</Target>
@@ -176,130 +148,6 @@
</Option>
</Chooser>
</Page>
-
- <Page
- helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-time.html"
- name="invisible"
- comment="This invisible page is only to keep track of the absence of network."
- executionLevel="DEBUG"
- nextFinish="false"
- canBack="true"
- canCancel="true"
- >
-
- <Freetext
- name="freetext"
- variableName="wiz_time_ok"
- fillScript="echo not_ok"
- editable="false"
- >
- </Freetext>
- </Page>
-
- <Page
- helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-time.html"
- name="no_network"
- jumpScript="__WIZ_HOME__/time_wizard/scripts/install_rpm.sh"
- executionLevel="NORMAL"
- nextFinish="false"
- canBack="true"
- canCancel="true"
- >
-
- <Target
- targetName="choose_server"
- jumpIndex="1"
- >
- </Target>
-
- <Target
- targetName="not_installed"
- jumpIndex="2"
- >
- </Target>
-
- <Info
- helpText="WARNING:"
- >
- </Info>
-
- <Info
- helpText="No network have been detected."
- >
- </Info>
-
- <Info
- helpText="If you want to continue (and you know what you are doing) press next. Otherwise, press \qback\q to set the local time only, or cancel to exit this wizard."
- >
- </Info>
- </Page>
-
- <Page
- helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-time.html"
- name="no_tools"
- jumpScript="__WIZ_HOME__/time_wizard/scripts/install_rpm.sh"
- executionLevel="NORMAL"
- nextFinish="false"
- canBack="true"
- canCancel="true"
- >
-
- <Target
- targetName="choose_target"
- jumpIndex="1"
- >
- </Target>
-
- <Target
- targetName="not_installed"
- jumpIndex="2"
- >
- </Target>
-
- <Info
- helpText="WARNING: the net time tools aren't there."
- >
- </Info>
-
- <Info
- helpText="Click next to install those tools, back to return, or cancel to exit this wizard."
- >
- </Info>
- </Page>
-
- <Page
- helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-time.html"
- name="not_installed"
- jumpScript="__WIZ_HOME__/time_wizard/scripts/test_tools.sh"
- executionLevel="NORMAL"
- nextFinish="false"
- canBack="true"
- canCancel="true"
- >
-
- <Target
- targetName="choose_server"
- jumpIndex="1"
- >
- </Target>
-
- <Target
- targetName="no_tools"
- jumpIndex="2"
- >
- </Target>
-
- <Info
- helpText="Can't install the NTP tools!"
- >
- </Info>
-
- <Info
- helpText="Please, install ntp manually if you can, or insert the CDROM containing it."
- >
- </Info>
- </Page>
-
<Page
helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-time.html"
name="choose_server"
@@ -710,7 +558,7 @@
<Page
helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-time.html"
name="test_server"
- jumpScript="__WIZ_HOME__/time_wizard/scripts/test_timeservers.sh"
+ func="test"
executionLevel="NORMAL"
nextFinish="false"
canBack="true"
@@ -718,7 +566,7 @@
>
<Target
- targetName="invisible2"
+ targetName="server_not_responding"
jumpIndex="1"
>
</Target>
@@ -772,30 +620,10 @@
</Freetext>
</Page>
-
- <Page
- helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-time.html"
- name="invisible2"
- comment="This invisible page is only to keep track of the absence of network"
- executionLevel="DEBUG"
- nextFinish="false"
- canBack="true"
- canCancel="true"
- >
-
- <Freetext
- name="freetext"
- variableName="wiz_time_ok"
- fillScript="echo not_ok"
- editable="false"
- >
- </Freetext>
- </Page>
-
<Page
helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-time.html"
name="server_not_responding"
- jumpScript="__WIZ_HOME__/time_wizard/scripts/handle_no_network.sh"
+ func="test"
executionLevel="NORMAL"
nextFinish="false"
canBack="true"
@@ -891,63 +719,4 @@
</Info>
</Page>
-
- <Page
- helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-time.html"
- name="must be root"
- executionLevel="NORMAL"
- nextFinish="true"
- canBack="true"
- canCancel="true"
- >
-
- <Info
- helpText="Sorry, you must be root to run this wizard"
- >
- </Info>
- </Page>
-
- <Page
- helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-time.html"
- name="error_need_net"
- subWizard="__WIZ_HOME__/server_wizard/server.wiz"
- executionLevel="NORMAL"
- nextFinish="false"
- canBack="false"
- canCancel="true"
- >
-
- <Info
- helpText="Network not configured yet"
- >
- </Info>
-
-
- <Info
- helpText="You have to configure the basic network parameters before launching this wizard."
- >
- </Info>
-
- <Info
- helpText="Press next to configure these parameters now, or Cancel to exit this wizard."
- >
- </Info>
-
-
- <Info
- helpText="If you choose to configure now, you will automatically continue with the TIME configuration."
- >
- </Info>
- </Page>
-
- <Page
- helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-time.html"
- name="server launcher"
- jumpPage="choice_setting"
- executionLevel="DEBUG"
- nextFinish="false"
- canBack="true"
- canCancel="true"
- >
- </Page>
</Wizard>