steffen: server/perl-kolab/Kolab Kolab.pm,1.23,1.24

cvs at intevation.de cvs at intevation.de
Thu Jun 30 03:43:57 CEST 2005


Author: steffen

Update of /kolabrepository/server/perl-kolab/Kolab
In directory doto:/tmp/cvs-serv19892/Kolab

Modified Files:
	Kolab.pm 
Log Message:
more autoperlization

Index: Kolab.pm
===================================================================
RCS file: /kolabrepository/server/perl-kolab/Kolab/Kolab.pm,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- Kolab.pm	11 Jun 2005 09:36:11 -0000	1.23
+++ Kolab.pm	30 Jun 2005 01:43:55 -0000	1.24
@@ -127,7 +127,7 @@
 
     # Make a hash of the bind password available too
     if( !exists $config{'bind_pw_hash'} ) {
-      my $hashcmd = $config{'prefix'}."$ap::config->{sbindir}/slappasswd -s '".$config{'bind_pw'}."'";
+      my $hashcmd = $ap::config->{sbindir} . "/slappasswd -s '".$config{'bind_pw'}."'";
       $config{'bind_pw_hash'} = `$hashcmd`;
       chomp($config{'bind_pw_hash'});
     }
@@ -389,7 +389,7 @@
         system("$ap::config->{bindir}/openpkg rc proftpd start");
         if ($haschanged{'proftpd'}) {
             &log('K', 'Reloading ProFTPd...');
-            kill('SIGHUP', `cat $ap::config->{localstatedir}/proftpd/proftpd.pid`);
+            kill('SIGHUP', `cat $ap::config->{ftpserver_pidfile}`);
         }
     } else {
         &log('K', 'Stopping ProFTPd, if running...');





More information about the commits mailing list