summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-06-28 03:32:10 +0000
committerdd <dd@FreeBSD.org>2001-06-28 03:32:10 +0000
commitfe47a79f92a98691f51822ae0a94e572b069d46e (patch)
tree65ca6d5887f7fecd2efafaf8e7f57224ad011d68 /etc/rc
parente65f95daf358a37f16803c1e0525aac9c021d0b6 (diff)
downloadFreeBSD-src-fe47a79f92a98691f51822ae0a94e572b069d46e.zip
FreeBSD-src-fe47a79f92a98691f51822ae0a94e572b069d46e.tar.gz
Introduce syslogd_program and inetd_program variables in case somebody
wants to replace one of those programs. PR: 13609 Submitted by: Goran Lowkrantz <goran.lowkrantz@infologigruppen.se>
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc5
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index 717a339..e0315948 100644
--- a/etc/rc
+++ b/etc/rc
@@ -461,7 +461,8 @@ case ${syslogd_enable} in
fi
rm -f /var/run/log
- echo -n ' syslogd'; syslogd ${syslogd_flags}
+ echo -n ' syslogd';
+ ${syslogd_program:-/usr/sbin/syslogd} ${syslogd_flags}
;;
esac
@@ -591,7 +592,7 @@ case ${inetd_enable} in
[Nn][Oo])
;;
*)
- echo -n ' inetd'; inetd ${inetd_flags}
+ echo -n ' inetd'; ${inetd_program:-/usr/sbin/inetd} ${inetd_flags}
;;
esac
OpenPOWER on IntegriCloud