QMI: Update red/iface file when using QMI.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
Stefan Schantl
2022-10-21 16:15:20 +02:00
committed by Peter Müller
parent 3392be3a57
commit 883ec31e3c

View File

@@ -226,6 +226,9 @@ case "${1}" in
# Set up the interface # Set up the interface
ip link set "${RED_DEV}" up &>/dev/null ip link set "${RED_DEV}" up &>/dev/null
# Write red device name to the corresponding file.
echo -n "${RED_DEV}" > /var/ipfire/red/iface
# Start the DHCP client # Start the DHCP client
dhcpcd_start "${RED_DEV}" --dhcp dhcpcd_start "${RED_DEV}" --dhcp