diff options
Diffstat (limited to 'news_wizard/scripts/Newsconf.pm')
-rw-r--r-- | news_wizard/scripts/Newsconf.pm | 5 |
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) = @_; |