summaryrefslogtreecommitdiffstats
path: root/install/share/fedora-ds.init.patch
blob: 865611d9d6f133214667c8067eec6477dca623ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- /etc/init.d/dirsrv.orig	2007-07-06 18:21:30.000000000 -0400
+++ /etc/init.d/dirsrv		2007-05-18 19:36:24.000000000 -0400
@@ -10,6 +10,9 @@
 # datadir:     /var/lib/dirsrv/slapd-<instance name>
 #
 
+# Get config.
+[ -r /etc/sysconfig/dirsrv ] && . /etc/sysconfig/dirsrv
+
 # Source function library.
 if [ -f /etc/rc.d/init.d/functions ] ; then
 . /etc/rc.d/init.d/functions