Skip to content

Commit

Permalink
falter-berlin-migration: fix section name of loopback device
Browse files Browse the repository at this point in the history
use the correct name of the loopback section

Signed-off-by: pmelange <[email protected]>
(cherry picked from commit f8a4687)
  • Loading branch information
pmelange authored and Akira25 committed Oct 16, 2021
1 parent c3587c3 commit 04f31f7
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -842,12 +842,12 @@ r1_2_0_network() {
uci -q delete network.dhcp.type
fi

# change lo from ifname to device
dev=$(uci -q get network.lo.ifname)
# change loopback from ifname to device
dev=$(uci -q get network.loopback.ifname)
if [ $? -eq 0 ]; then
log "changing lo interface from ifname sytax to device"
uci -q delete network.lo.ifname
uci -q set network.lo.device=$dev
log "changing loopback interface from ifname sytax to device"
uci -q delete network.loopback.ifname
uci -q set network.loopback.device=$dev
fi

# change tunl0 from ifname to device
Expand Down

0 comments on commit 04f31f7

Please sign in to comment.