aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorGravatar Michał Łyszczek <michal.lyszczek@bofc.pl>2019-08-04 14:14:19 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-09-23 22:57:04 +0200
commit33de483931faf77cb6cd4a82040d47f6db0e7709 (patch)
treef058f36d3c180de1055b7fc02aacceff4ab95db3 /system
parent39950aae0025fc494dac0540a4072c03ace6aeb0 (diff)
downloadbuildroot-33de483931faf77cb6cd4a82040d47f6db0e7709.tar.gz
buildroot-33de483931faf77cb6cd4a82040d47f6db0e7709.tar.bz2
package/netifrc: add support for BR2_SYSTEM_DHCP
This patch makes openrc-netifrc package aware of BR2_SYSTEM_DHCP config, and if set, will start dhcp daemon on configured interface. Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl> [yann.morin.1998@free.fr: - simplify condition for BR2_SYSTEM_DHCP - reword commit log ] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'system')
-rw-r--r--system/Config.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/system/Config.in b/system/Config.in
index 1bfe069b2e..c87266f431 100644
--- a/system/Config.in
+++ b/system/Config.in
@@ -377,7 +377,8 @@ config BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW
config BR2_SYSTEM_DHCP
string "Network interface to configure through DHCP"
default ""
- depends on BR2_PACKAGE_BUSYBOX || BR2_PACKAGE_IFUPDOWN || BR2_PACKAGE_SYSTEMD_NETWORKD
+ depends on BR2_PACKAGE_BUSYBOX || BR2_PACKAGE_IFUPDOWN || \
+ BR2_PACKAGE_SYSTEMD_NETWORKD || BR2_PACKAGE_NETIFRC
help
Enter here the name of the network interface (E.G. eth0) to
automatically configure through DHCP at bootup.
@@ -388,8 +389,9 @@ config BR2_SYSTEM_DHCP
overwrite /etc/network/interfaces or add a networkd
configuration file.
-comment "automatic network configuration via DHCP needs ifupdown or busybox or networkd"
- depends on !(BR2_PACKAGE_BUSYBOX || BR2_PACKAGE_IFUPDOWN || BR2_PACKAGE_SYSTEMD_NETWORKD)
+comment "automatic network configuration via DHCP needs ifupdown or busybox or networkd or netifrc"
+ depends on !(BR2_PACKAGE_BUSYBOX || BR2_PACKAGE_IFUPDOWN || \
+ BR2_PACKAGE_SYSTEMD_NETWORKD || BR2_PACKAGE_NETIFRC)
endif # BR2_ROOTFS_SKELETON_DEFAULT