summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/zii-vf610-dev/defaultenv-zii-vf610-dev/init/automount-sd
blob: f44dab34e4577d54feb06643886787c983575082 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

if [ x${global.hostname} = xdev-rev-b -o x${global.hostname} = xdev-rev-c ];
then
    global sd=0
else
    global sd=1
fi

mkdir -p /mnt/sd
automount /mnt/sd 'mci${global.sd}.probe=1 && mount /dev/disk${global.sd}.0 /mnt/sd'

exit 0