Skip to content

Commit a905713

Browse files
committed
bcm27xx_bcm2709: Fix re-running set_hostname script.
This script should only run once when the hostname is set to `OpenWrt`. This fix was added to the other targets, but was still missing for bcm27xx_bcm2709.
1 parent 45fef07 commit a905713

File tree

1 file changed

+4
-0
lines changed
  • conf/full_raspberrypi_bcm27xx_bcm2709/files/etc/uci-defaults

1 file changed

+4
-0
lines changed

conf/full_raspberrypi_bcm27xx_bcm2709/files/etc/uci-defaults/99_set_hostname

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
if [ "$(uci -q get system.@system[0].hostname)" != "OpenWrt" ]; then
2+
exit 0
3+
fi
4+
15
GWID_END=""
26

37
ip link show eth0

0 commit comments

Comments
 (0)