diff options
author | Arnaud Desmons <adesmons@mandriva.com> | 2002-09-03 15:12:10 +0000 |
---|---|---|
committer | Arnaud Desmons <adesmons@mandriva.com> | 2002-09-03 15:12:10 +0000 |
commit | cbec6a11b4b0f12cfd025e7ac424e8aa67b4349d (patch) | |
tree | f6b0d25dd13d0d5ead8ed964b3a8edb5eac5af79 /news_wizard | |
parent | 153426e066bf73504b59483727816bc8339616b9 (diff) | |
download | drakwizard-cbec6a11b4b0f12cfd025e7ac424e8aa67b4349d.tar drakwizard-cbec6a11b4b0f12cfd025e7ac424e8aa67b4349d.tar.gz drakwizard-cbec6a11b4b0f12cfd025e7ac424e8aa67b4349d.tar.bz2 drakwizard-cbec6a11b4b0f12cfd025e7ac424e8aa67b4349d.tar.xz drakwizard-cbec6a11b4b0f12cfd025e7ac424e8aa67b4349d.zip |
fill func
Diffstat (limited to 'news_wizard')
-rw-r--r-- | news_wizard/news.wiz | 2 | ||||
-rw-r--r-- | news_wizard/scripts/Newsconf.pm | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/news_wizard/news.wiz b/news_wizard/news.wiz index 3b2863b1..8cf5dcc5 100644 --- a/news_wizard/news.wiz +++ b/news_wizard/news.wiz @@ -14,7 +14,6 @@ name="newsServer" comment="The host name of the news server" shellVariable="wiz_news_server" - defaultValue="news.provider.com" valueIsTranslated="false" > </Variable> @@ -86,6 +85,7 @@ name="freetext1" comment="Host name input field" variableName="newsServer" + fillfunc="get_server" helpText="News Server Name:" editable="true" > diff --git a/news_wizard/scripts/Newsconf.pm b/news_wizard/scripts/Newsconf.pm index 2ec5675d..55e99729 100644 --- a/news_wizard/scripts/Newsconf.pm +++ b/news_wizard/scripts/Newsconf.pm @@ -20,6 +20,11 @@ sub normalize_freq { $freq; } +sub get_server { + my %mdk = Vareqval->get("/etc/leafnode/config"); + $mdk{server}; +} + sub normalize_server { my ($server) = @_; |