summaryrefslogtreecommitdiffstats
path: root/news_wizard/scripts
diff options
context:
space:
mode:
authorArnaud Desmons <adesmons@mandriva.com>2002-09-03 15:12:10 +0000
committerArnaud Desmons <adesmons@mandriva.com>2002-09-03 15:12:10 +0000
commitcbec6a11b4b0f12cfd025e7ac424e8aa67b4349d (patch)
treef6b0d25dd13d0d5ead8ed964b3a8edb5eac5af79 /news_wizard/scripts
parent153426e066bf73504b59483727816bc8339616b9 (diff)
downloaddrakwizard-cbec6a11b4b0f12cfd025e7ac424e8aa67b4349d.tar
drakwizard-cbec6a11b4b0f12cfd025e7ac424e8aa67b4349d.tar.gz
drakwizard-cbec6a11b4b0f12cfd025e7ac424e8aa67b4349d.tar.bz2
drakwizard-cbec6a11b4b0f12cfd025e7ac424e8aa67b4349d.tar.xz
drakwizard-cbec6a11b4b0f12cfd025e7ac424e8aa67b4349d.zip
fill func
Diffstat (limited to 'news_wizard/scripts')
-rw-r--r--news_wizard/scripts/Newsconf.pm5
1 files changed, 5 insertions, 0 deletions
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) = @_;