Revision e5d83b70
Added by Seth Mos over 14 years ago
etc/inc/services.inc | ||
---|---|---|
717 | 717 |
|
718 | 718 |
/* fire up dhcpd in a chroot */ |
719 | 719 |
if(count($dhcpdifs) > 0) { |
720 |
mwexec("/usr/local/sbin/dhcpd -user dhcpd -group dhcpd -chroot {$g['dhcpd_chroot_path']} -cf /etc/dhcpd.conf " .
|
|
720 |
mwexec("/usr/local/sbin/dhcpd -user dhcpd -group _dhcp -chroot {$g['dhcpd_chroot_path']} -cf /etc/dhcpd.conf " .
|
|
721 | 721 |
join(" ", $dhcpdifs)); |
722 | 722 |
} |
723 | 723 |
|
724 | 724 |
if(count($dhcpdv6ifs) > 0) { |
725 |
mwexec("/usr/local/sbin/dhcpd -6 -user dhcpd -group dhcpd -chroot {$g['dhcpd_chroot_path']} -cf /etc/dhcpdv6.conf " .
|
|
725 |
mwexec("/usr/local/sbin/dhcpd -6 -user dhcpd -group _dhcp -chroot {$g['dhcpd_chroot_path']} -cf /etc/dhcpdv6.conf " .
|
|
726 | 726 |
join(" ", $dhcpdv6ifs)); |
727 | 727 |
mwexec("/usr/sbin/rtadvd " . join(" ", $dhcpdv6ifs)); |
728 | 728 |
} |
Also available in: Unified diff
Fix dhcp server group