--- kolab_bootstrap.in.sysv 2009-04-10 06:08:41.000000000 +0200 +++ kolab_bootstrap.in 2009-04-10 06:08:41.000000000 +0200 @@ -90,7 +90,7 @@ print ("Error: Found $name running on Port $port\n"); print ("Check your installation!\n"); print ("You must stop the service $name before running Kolab\n"); - print ("You may try to execute \"@KOLABRC@ rc all stop\" initially\n"); + print ("You may try to execute \"/etc/rc.d/init.d/kolab stop\" initially\n"); exit 1; } } @@ -656,7 +656,7 @@ if ($ldap_uri =~ /127\.0\.0\.1/ || $ldap_uri =~ /localhost/) { print "\nkill temporary slapd\n\n"; - system("@KOLABRC@ rc @LDAPD@ stop"); + system("/etc/rc.d/init.d/ldap stop"); sleep 1; # actually race should be impossible system("killall -9 slapd >/dev/null 2>&1"); } @@ -723,7 +723,7 @@ ##### Slave server setup print "stop running slapd (if any)\n"; - kolab_system("@KOLABRC@ rc @LDAPD@ stop"); + kolab_system("/etc/rc.d/init.d/ldap stop"); # Make sure that no rogue demons are running tryConnect( '127.0.0.1', 389 ) && die "A process is already listening to port 389 (ldap)\n" @@ -841,9 +841,9 @@ is copied over to this slave. Please make sure that this slave is entered into the list of kolabhosts on the master before proceeding. EOS - kolab_system("ssh -CA $master_host @KOLABRC@ rc @LDAPD@ stop"); + kolab_system("ssh -CA $master_host /etc/rc.d/init.d/ldap stop"); kolab_system("ssh -CA $master_host @TAR@ -C @ldapserver_statedir@ -pcf - openldap-data | @TAR@ -C @ldapserver_statedir@ -pxf -"); - kolab_system("ssh -CA $master_host @KOLABRC@ rc @LDAPD@ start"); + kolab_system("ssh -CA $master_host /etc/rc.d/init.d/ldap start"); # FIXME: we should get rid of this construct because it makes the code hard to read. # A if (-e @sysconfdir@/kolab/rc.conf) statement should be enough. @@ -941,6 +941,6 @@ #system("@sysconfdir@/kolab/kolab_sslcert.sh $fqdn"); print "kolab is now ready to run!\n"; -print "please run '@KOLABRC@ rc all start'\n"; +print "please run '/etc/rc.d/init.d/kolab start'\n"; print ("Use login=manager and passwd=$bind_pw when you log into\n"); print ("the webinterface https://$fqdn@webserver_web_prefix@/admin !\n");