mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 10:35:53 +02:00
QMI: Update red/iface file when using QMI.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
committed by
Peter Müller
parent
3392be3a57
commit
883ec31e3c
@@ -226,6 +226,9 @@ case "${1}" in
|
||||
# Set up the interface
|
||||
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
|
||||
dhcpcd_start "${RED_DEV}" --dhcp
|
||||
|
||||
|
||||
Reference in New Issue
Block a user