1 | 1 | simandl | package HotSaNICmod::common; |
2 | | | |
3 | | | sub version { |
4 | | | ($VERSION = '$Revision: 1.4 $') =~ s/.*(\d+\.\d+).*/$1/; |
5 | | | return "common.pm $VERSION"; |
6 | | | } |
7 | | | |
8 | | | sub configure { |
9 | | | my %MODCONF=HotSaNICparser::get_moduleconfig(".",(LOGPATH=>"var",LOGNAME_RC5=>"var",LOGNAME_DES=>"var",LOGNAME_CSC=>"var",LOGNAME_OGR=>"var",NETWORK=>"array")); |
10 | | | if ($MODCONF{LOGNAME_RC5} eq "") { $MODCONF{LOGNAME_RC5}="pproxyrc5"; } |
11 | | | if ($MODCONF{LOGNAME_DES} eq "") { $MODCONF{LOGNAME_DES}="pproxydes"; } |
12 | | | if ($MODCONF{LOGNAME_CSC} eq "") { $MODCONF{LOGNAME_CSC}="pproxycsc"; } |
13 | | | if ($MODCONF{LOGNAME_OGR} eq "") { $MODCONF{LOGNAME_OGR}="pproxyogr"; } |
14 | | | return %MODCONF; |
15 | | | } |
16 | | | |
17 | | | 1; |
18 | | | |