summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/afi-gf
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2017-11-24 08:44:24 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2017-12-15 08:12:25 +0100
commitacc3a3ef900ad92ccca57aeb5f7e446f8bd4745d (patch)
tree2c42bbe475dc85f3f6ed734d6a3f341877b2b216 /arch/arm/boards/afi-gf
parenteb995e0e09523cc1128563199340dab327dafabe (diff)
downloadbarebox-acc3a3ef900ad92ccca57aeb5f7e446f8bd4745d.tar.gz
barebox-acc3a3ef900ad92ccca57aeb5f7e446f8bd4745d.tar.xz
net: environment: update automounts
Instead of using "ifup ethx" use "ifup -a" which works with all network interfaces. Also replace "$ethx.serverip" with "$global.net.server". This makes the automount independent of the actual network interface. Remove all board specific /env/init/automount files which were only there to use eth1 instead of the previously hardcoded eth0. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/afi-gf')
-rw-r--r--arch/arm/boards/afi-gf/defaultenv-gf/init/automount10
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/arm/boards/afi-gf/defaultenv-gf/init/automount b/arch/arm/boards/afi-gf/defaultenv-gf/init/automount
deleted file mode 100644
index 560bdb7975..0000000000
--- a/arch/arm/boards/afi-gf/defaultenv-gf/init/automount
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-# automount tftp server based on $eth1.serverip
-
-mkdir -p /mnt/tftp
-automount /mnt/tftp 'ifup eth1 && mount -t tftp $eth1.serverip /mnt/tftp'
-
-# eth0 is on the mezzanine board
-mkdir -p /mnt/tftp-eth0
-automount /mnt/tftp-eth0 'ifup eth0 && mount -t tftp $eth0.serverip /mnt/tftp'