summaryrefslogtreecommitdiffstats
path: root/source/a/pkgtools/scripts/setup.services
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/pkgtools/scripts/setup.services')
-rw-r--r--source/a/pkgtools/scripts/setup.services24
1 files changed, 23 insertions, 1 deletions
diff --git a/source/a/pkgtools/scripts/setup.services b/source/a/pkgtools/scripts/setup.services
index 2e83cb932..ee31b6f94 100644
--- a/source/a/pkgtools/scripts/setup.services
+++ b/source/a/pkgtools/scripts/setup.services
@@ -207,6 +207,28 @@ if [ -r etc/rc.d/rc.ntpd ]; then
EOF
fi
+if [ -r etc/rc.d/rc.openldap ]; then
+ if [ -x etc/rc.d/rc.openldap ]; then
+ RC_OPENLDAP=on
+ else
+ RC_OPENLDAP=off
+ fi
+ cat << EOF >> $TMP/tmpscript
+ "rc.openldap" "OpenLDAP server" $RC_OPENLDAP "The stand-alone LDAP daemon (slapd)." \\
+EOF
+fi
+
+if [ -r etc/rc.d/rc.openvpn ]; then
+ if [ -x etc/rc.d/rc.openvpn ]; then
+ RC_OPENVPN=on
+ else
+ RC_OPENVPN=off
+ fi
+ cat << EOF >> $TMP/tmpscript
+ "rc.openvpn" "OpenVPN daemon" $RC_OPENVPN "A secure IP tunnel daemon." \\
+EOF
+fi
+
if [ -r etc/rc.d/rc.pcmcia ]; then
if [ -x etc/rc.d/rc.pcmcia ]; then
RC_PCMCIA=on
@@ -328,7 +350,7 @@ if [ ! $? = 0 ]; then
exit
fi
-for service in rc.atalk rc.atd rc.bind rc.crond rc.cups rc.dovecot rc.dnsmasq rc.fuse rc.hald rc.hplip rc.httpd rc.inetd rc.ip_forward rc.lprng rc.messagebus rc.mysqld rc.ntpd rc.pcmcia rc.postfix rc.rpc rc.samba rc.saslauthd rc.smartd rc.snmpd rc.sendmail rc.syslog rc.sshd ; do
+for service in rc.atalk rc.atd rc.bind rc.crond rc.cups rc.dovecot rc.dnsmasq rc.fuse rc.hald rc.hplip rc.httpd rc.inetd rc.ip_forward rc.lprng rc.messagebus rc.mysqld rc.ntpd rc.openldap rc.openvpn rc.pcmcia rc.postfix rc.rpc rc.samba rc.saslauthd rc.smartd rc.snmpd rc.sendmail rc.syslog rc.sshd ; do
if [ -f etc/rc.d/$service ]; then
if grep -w $service $TMP/reply 1> /dev/null ; then
chmod 755 etc/rc.d/$service