mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
dhcpcd: add noip4ll parameter to config
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -21,3 +21,6 @@ require dhcp_server_identifier
|
||||
# A hook script is provided to lookup the hostname if not set by the DHCP
|
||||
# server, but it should not be run by default.
|
||||
nohook lookup-hostname
|
||||
|
||||
# disable ipv4ll (IPv4 local link/apipa) ip's
|
||||
noipv4ll
|
||||
|
||||
@@ -91,6 +91,11 @@ rm -vf \
|
||||
# Extract files
|
||||
extract_files
|
||||
|
||||
# update dhcpcd.conf
|
||||
sed -i -e "s|.*ipv4ll.*||g" /var/ipfire/dhcpc/dhcpcd.conf
|
||||
echo "# disable ipv4ll (IPv4 local link/apipa) ip's" >> /var/ipfire/dhcpc/dhcpcd.conf
|
||||
echo "noipv4ll" >> /var/ipfire/dhcpc/dhcpcd.conf
|
||||
|
||||
# update linker config
|
||||
ldconfig
|
||||
|
||||
|
||||
Reference in New Issue
Block a user