summaryrefslogtreecommitdiffstats
path: root/time_wizard
diff options
context:
space:
mode:
Diffstat (limited to 'time_wizard')
-rw-r--r--time_wizard/time.wiz506
1 files changed, 1 insertions, 505 deletions
diff --git a/time_wizard/time.wiz b/time_wizard/time.wiz
index 5c8ca6b6..9a4c7dcf 100644
--- a/time_wizard/time.wiz
+++ b/time_wizard/time.wiz
@@ -6,76 +6,48 @@
libScript="__WIZ_HOME__/common/scripts/functions.sh"
wizardTitle="Time wizard"
imagePosition="top"
- defaultImage="__WIZ_HOME__/images/Time.jpg"
- height="400"
- width="525"
- hasDb="true"
- dbPositions="6"
- dbFilename="/var/log/wizards/time.wdb"
- referenceLength="425"
- referenceHeight="13"
+ defaultImage="__WIZ_HOME__/time_wizard/images/Time"
>
<Variable
name="chooser1"
shellVariable="chooser1"
- persistent="true"
- dbPosition="0"
- key="false"
>
</Variable>
<Variable
name="server1"
shellVariable="server1"
- persistent="true"
- dbPosition="1"
- key="false"
>
</Variable>
<Variable
name="typedserver1"
shellVariable="typedserver1"
- persistent="true"
- dbPosition="2"
- key="false"
>
</Variable>
<Variable
name="server2"
shellVariable="server2"
- persistent="true"
- dbPosition="3"
- key="false"
>
</Variable>
<Variable
name="typedserver2"
shellVariable="typedserver2"
- persistent="true"
- dbPosition="4"
- key="false"
>
</Variable>
<Variable
name="chooser4"
shellVariable="chooser4"
- persistent="true"
- dbPosition="5"
- key="false"
>
</Variable>
<Variable
name="wiz_timezone"
shellVariable="wiz_timezone"
- persistent="true"
- dbPosition="0"
- key="false"
>
</Variable>
@@ -83,7 +55,6 @@
name="wiz_time_ok"
shellVariable="wiz_time_ok"
defaultValue="ok"
- persistent="false"
>
</Variable>
@@ -116,67 +87,28 @@
</Target>
<Info
- name="info1"
- alignement="Center"
helpText="Time configuration wizard"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
- <Info
- name="info39"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info2"
- alignement="Center"
helpText="This wizard will help you to set the time of your server,"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
<Info
- name="info3"
- alignement="Center"
helpText="either locally or synchronized with an external time server."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
<Info
- name="info42"
- alignement="Center"
helpText="Thus your server will be the local time server for your network."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
<Info
- name="info4"
- alignement="Center"
helpText="press next to begin, or cancel to leave this wizard"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
</Page>
@@ -216,104 +148,40 @@
</Target>
<Info
- name="info9"
- alignement="Center"
helpText="Type of setting"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
- <Info
- name="info27"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info33"
- alignement="East"
helpText="You can set the time of your machine in two ways: Locally means that the setting"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
<Info
- name="info35"
- alignement="East"
helpText="will simply set the system clock, without synchronizing with the external world"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
<Info
- name="info38"
- alignement="East"
helpText="If you use a time server, your machine will ask to that server the correct time."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
- <Info
- name="info36"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info34"
- alignement="East"
helpText="Which kind of setting would you like to do?"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
>
</Info>
- <Info
- name="info40"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Chooser
name="chooser1"
variableName="chooser1"
- alignement="Center"
helpFontName="Default"
helpFontStyle="bold"
helpFontSize="14"
editable="false"
- guiType="checkbox"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="2"
- ratio="30"
>
<Option
@@ -343,16 +211,8 @@
<Freetext
name="freetext"
variableName="wiz_time_ok"
- alignement="Center"
fillScript="echo not_ok"
- guiType="textfield"
editable="false"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="2"
- ratio="30"
- length="40"
>
</Freetext>
</Page>
@@ -380,57 +240,27 @@
</Target>
<Info
- name="info10"
- alignement="Center"
helpText="WARNING:"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="14"
>
</Info>
<Info
- name="info11"
- alignement="Center"
helpText="No network have been detected."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="14"
>
</Info>
<Info
- name="info12"
- alignement="Center"
helpText="If you want to continue (and you know what you are doing)"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="14"
>
</Info>
<Info
- name="info13"
- alignement="Center"
helpText="Press next. otherwise, press \qback\q to set the local time only,"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="14"
>
</Info>
<Info
- name="info14"
- alignement="Center"
helpText="or cancel to exit this wizard."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="14"
>
</Info>
</Page>
@@ -458,46 +288,22 @@
</Target>
<Info
- name="info5"
- alignement="Center"
helpText="WARNING: the net time tool arent there."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="14"
>
</Info>
<Info
- name="info6"
- alignement="Center"
helpText="Click next to install that tools,"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="14"
>
</Info>
<Info
- name="info15"
- alignement="Center"
helpText="back to return,"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="14"
>
</Info>
<Info
- name="info16"
- alignement="Center"
helpText="or cancel to exit this wizard."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="14"
>
</Info>
</Page>
@@ -525,35 +331,17 @@
</Target>
<Info
- name="info28"
- alignement="Center"
helpText="Cant install the NTP tools!"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="14"
>
</Info>
<Info
- name="info29"
- alignement="Center"
helpText="please, install ntp manually if you can,"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="14"
>
</Info>
<Info
- name="info30"
- alignement="Center"
helpText="or insert the CDROM containing it"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="14"
>
</Info>
</Page>
@@ -568,73 +356,30 @@
>
<Info
- name="info17"
- alignement="Center"
helpText="Time Servers"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
- <Info
- name="info21"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
- >
- </Info>
<Info
- name="info31"
- alignement="East"
helpText="Select a primary and secondary server from the list, or specify one:"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
<Info
- name="info32"
- alignement="East"
helpText="(please, choose servers in your geographical area)"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
- <Info
- name="info43"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Chooser
name="server1"
variableName="server1"
- alignement="Fill"
helpText="Primary Time Server:"
helpFontName="Default"
helpFontStyle="plain"
helpFontSize="12"
editable="true"
- guiType="choice"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="true"
- ratio="30"
>
<Option
@@ -809,18 +554,11 @@
<Chooser
name="server2"
variableName="server2"
- alignement="Fill"
helpText="Secondary Time Server:"
helpFontName="Default"
helpFontStyle="plain"
helpFontSize="12"
editable="true"
- guiType="choice"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="true"
- ratio="30"
>
<Option
@@ -992,15 +730,6 @@
</Option>
</Chooser>
- <Info
- name="info44"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<TDline
name="line"
@@ -1010,7 +739,6 @@
<Chooser
name="wiz_timezone"
variableName="wiz_timezone"
- alignement="VFill"
defaultOptionScript="get_var wiz_timezone"
fillScript="__WIZ_HOME__/time_wizard/scripts/compute_liste.sh"
helpText="Choose a time zone:"
@@ -1018,12 +746,6 @@
helpFontStyle="plain"
helpFontSize="12"
editable="false"
- guiType="list"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="2"
- ratio="30"
>
</Chooser>
</Page>
@@ -1051,108 +773,41 @@
</Target>
<Info
- name="info18"
- alignement="Center"
helpText="Testing the time servers availability"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
- <Info
- name="info41"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info20"
- alignement="East"
helpText="If the time server is not immediately available"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
<Info
- name="info45"
- alignement="East"
helpText="(network or other reason), you will wait about 30 seconds"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
- <Info
- name="info46"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info19"
- alignement="East"
helpText="Press next to start the time servers test."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
- <Info
- name="info37"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Freetext
name="freetext1"
- alignement="Fill"
fillScript="echo $server1"
helpText="Primary Time Server:"
- guiType="textfield"
editable="false"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="2"
- ratio="30"
- length="40"
>
</Freetext>
<Freetext
name="freetext2"
- alignement="Fill"
fillScript="echo $server2"
helpText="Secondary Time Server:"
- guiType="textfield"
editable="false"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="2"
- ratio="30"
- length="40"
>
</Freetext>
</Page>
@@ -1170,16 +825,8 @@
<Freetext
name="freetext"
variableName="wiz_time_ok"
- alignement="Center"
fillScript="echo not_ok"
- guiType="textfield"
editable="false"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="2"
- ratio="30"
- length="40"
>
</Freetext>
</Page>
@@ -1207,106 +854,48 @@
</Target>
<Info
- name="info22"
- alignement="Center"
helpText="WARNING"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
<Info
- name="info23"
- alignement="East"
helpText="The time servers are not responding. The causes could be:"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
<Info
- name="info24"
- alignement="East"
helpText="- non existant time servers"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
<Info
- name="info25"
- alignement="East"
helpText="- no outside network"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
<Info
- name="info26"
- alignement="East"
helpText="- other reasons..."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
- <Info
- name="info49"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info50"
- alignement="Center"
helpText="You can try again to contact time servers,"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
<Info
- name="info51"
- alignement="Center"
helpText="or save configuration without actually setting time."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
<Chooser
name="chooser4"
variableName="chooser4"
- alignement="Center"
helpFontName="Default"
helpFontStyle="plain"
helpFontSize="12"
editable="false"
- guiType="checkbox"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="2"
- ratio="30"
>
<Option
@@ -1333,57 +922,18 @@
canCancel="false"
>
- <Info
- name="info7"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info8"
- alignement="Center"
helpText="Time server configuration saved"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
- <Info
- name="info52"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info48"
- alignement="Center"
helpText="Your server can now act has a time server for your local network."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
- <Info
- name="info47"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
</Page>
<Page
@@ -1396,13 +946,7 @@
>
<Info
- name="info"
- alignement="Center"
helpText="Sorry, you must be root to run this wizard"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
</Page>
@@ -1418,77 +962,29 @@
>
<Info
- name="errorLabel"
- alignement="Center"
helpText="Network not configured yet"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
- <Info
- name="info23"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
- >
- </Info>
<Info
- name="info22"
- alignement="Center"
helpText="You have to configure the basic network parameters before launch this wizard."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
<Info
- name="info25"
- alignement="Center"
helpText="Press next to configure these parameters now, or Cancel to exit this wizard."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
- <Info
- name="info26"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info24"
- alignement="Center"
helpText="If you choose to configure now, you will automatically continue"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
<Info
- name="info27"
- alignement="Center"
helpText="with the TIME configuration"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
</Page>