summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/afi-gf/defaultenv-gf/init/automount
blob: 560bdb7975fe6361e008e17bc410937d92d423cf (plain)
1
2
3
4
5
6
7
8
9
10
#!/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'