mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 08:52:46 +00:00
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>
This commit is contained in:
parent
dcd24e2778
commit
df4afc8b95
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78905
@ -109,8 +109,10 @@ ppp_user="root" # Which user to run ppp as
|
|||||||
|
|
||||||
### Network daemon (miscellaneous) ###
|
### Network daemon (miscellaneous) ###
|
||||||
syslogd_enable="YES" # Run syslog daemon (or NO).
|
syslogd_enable="YES" # Run syslog daemon (or NO).
|
||||||
|
syslogd_program="/usr/sbin/syslogd" # path to syslogd, if you want a different one.
|
||||||
syslogd_flags="-s" # Flags to syslogd (if enabled).
|
syslogd_flags="-s" # Flags to syslogd (if enabled).
|
||||||
inetd_enable="NO" # Run the network daemon dispatcher (YES/NO).
|
inetd_enable="NO" # Run the network daemon dispatcher (YES/NO).
|
||||||
|
inetd_program="/usr/sbin/inetd" # path to inetd, if you want a different one.
|
||||||
inetd_flags="-wW" # Optional flags to inetd
|
inetd_flags="-wW" # Optional flags to inetd
|
||||||
#
|
#
|
||||||
# named. It may be possible to run named in a sandbox, man security for
|
# named. It may be possible to run named in a sandbox, man security for
|
||||||
|
5
etc/rc
5
etc/rc
@ -461,7 +461,8 @@ case ${syslogd_enable} in
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
rm -f /var/run/log
|
rm -f /var/run/log
|
||||||
echo -n ' syslogd'; syslogd ${syslogd_flags}
|
echo -n ' syslogd';
|
||||||
|
${syslogd_program:-/usr/sbin/syslogd} ${syslogd_flags}
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@ -591,7 +592,7 @@ case ${inetd_enable} in
|
|||||||
[Nn][Oo])
|
[Nn][Oo])
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo -n ' inetd'; inetd ${inetd_flags}
|
echo -n ' inetd'; ${inetd_program:-/usr/sbin/inetd} ${inetd_flags}
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user