mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
dhcp: Fix installation of configuration files.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#etc/dhclient.conf
|
||||
etc/dhcpd.conf
|
||||
#etc/dhcp
|
||||
#etc/dhcp/dhclient.conf
|
||||
etc/dhcp/dhcpd.conf
|
||||
#usr/bin/omshell
|
||||
#usr/include/dhcpctl
|
||||
#usr/include/dhcpctl/dhcpctl.h
|
||||
|
||||
4
lfs/dhcp
4
lfs/dhcp
@@ -111,7 +111,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
cd $(DIR_APP) && \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--sysconfdir=/etc/dhcp \
|
||||
--with-srv-lease-file=/var/state/dhcp/dhcpd.leases \
|
||||
--disable-static \
|
||||
--enable-paranoia \
|
||||
@@ -123,6 +123,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
mkdir -pv /var/state/dhcp
|
||||
touch /var/state/dhcp/dhcpd.leases
|
||||
|
||||
ln -sf $(CONFIG_ROOT)/dhcp/dhcpd.conf /etc/dhcpd.conf
|
||||
ln -svf $(CONFIG_ROOT)/dhcp/dhcpd.conf /etc/dhcp/dhcpd.conf
|
||||
@rm -rf $(DIR_APP)
|
||||
@$(POSTBUILD)
|
||||
|
||||
Reference in New Issue
Block a user