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.services13
1 files changed, 12 insertions, 1 deletions
diff --git a/source/a/pkgtools/scripts/setup.services b/source/a/pkgtools/scripts/setup.services
index ee31b6f94..768254329 100644
--- a/source/a/pkgtools/scripts/setup.services
+++ b/source/a/pkgtools/scripts/setup.services
@@ -196,6 +196,17 @@ if [ -r etc/rc.d/rc.mysqld ]; then
EOF
fi
+if [ -r etc/rc.d/rc.nfsd ]; then
+ if [ -x etc/rc.d/rc.nfsd ]; then
+ RC_NFSD=on
+ else
+ RC_NFSD=off
+ fi
+ cat << EOF >> $TMP/tmpscript
+ "rc.nfsd" "The Network File System Daemons" $RC_NFSD "Daemons needed to share files to other machines using NFS." \\
+EOF
+fi
+
if [ -r etc/rc.d/rc.ntpd ]; then
if [ -x etc/rc.d/rc.ntpd ]; then
RC_NTPD=on
@@ -350,7 +361,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.openldap rc.openvpn 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.nfsd 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