dhcrelay does not have an init script but should - otherwise it will have to be started manually I suggest including a config file in /etc/conf.d as well to pass command line args to dhcrelay Note that dhcpd and dhcrelay may conflict but don't have to (e.g. if dhcrelay is running on eth1 and dhcpd is running on eth0) Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 21015 [details] initscript for dhcrelay This is what I think is a fairly reasonable init script for dhcrelay. It does not support chroot or dropping root, so those options have been removed vis a vis the dhcp init script. I have tested it on my system. I will also send along a conf file for /etc/conf.d
Created attachment 21016 [details] Conf file for /etc/conf.d for dhcrelay init script Here is the accompanying conf file. The relay servers variable has to be populated for the script to start correctly.
Committed as dhcp-3.02_p2-r3. Any reason it doesn't work as the dhcp user?