diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2006-11-05 11:27:01 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2006-11-05 11:27:01 +0000 |
commit | edec2a0c2fe26c1184421280e23a061d75bb5787 (patch) | |
tree | abeb3272a9138b1ba00ff7778cc8e7c849c3942b /net/isc-dhcp30-server | |
parent | 1ca4910cf7a45ea8e3b77427a921515868c4413e (diff) | |
download | ports-edec2a0c2fe26c1184421280e23a061d75bb5787.tar.gz ports-edec2a0c2fe26c1184421280e23a061d75bb5787.zip |
Notes
Diffstat (limited to 'net/isc-dhcp30-server')
-rw-r--r-- | net/isc-dhcp30-server/files/isc-dhcpd.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net/isc-dhcp30-server/files/isc-dhcpd.in b/net/isc-dhcp30-server/files/isc-dhcpd.in index 382cf789402c..82f249ad5571 100644 --- a/net/isc-dhcp30-server/files/isc-dhcpd.in +++ b/net/isc-dhcp30-server/files/isc-dhcpd.in @@ -719,4 +719,11 @@ install_cmd=dhcpd_install uninstall_cmd=dhcpd_uninstall extra_commands="install uninstall" +# Override /etc/rc.subr JID determiniation, because it doesn't +# work when we launch dhcpd in a jail. +if checkyesno dhcpd_jail_enable ; then + read pid junk < $pidfile 2>/dev/null + [ -n "$pid" ] && JID=`ps -o jid= -p $pid` +fi + run_rc_command "$1" |