Skip to content

Commit

Permalink
v8.24
Browse files Browse the repository at this point in the history
- DietPi-Installer | Satisfy shellcheck
  • Loading branch information
MichaIng committed Nov 12, 2023
1 parent dd9e8c1 commit 6f7db67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .build/images/dietpi-installer
Original file line number Diff line number Diff line change
Expand Up @@ -1270,6 +1270,7 @@ _EOF_
write_uboot_platform "$DIR" "$BOOT_DEVICE"

# Apply device tree adjustment for Ethernet adapter
# shellcheck disable=SC2016
sed -i -e '/^setenv bootargs /s/"$/ ethernet_phy=${ethernet_phy}"/' -e '/^booti/i\
if test "${ethernet_phy}" = "rtl8211f"; then\
echo "Ethernet adapter: ${ethernet_phy}, adjusting device tree ..."\
Expand Down

0 comments on commit 6f7db67

Please sign in to comment.