summaryrefslogtreecommitdiff
path: root/packages/initrdscripts/files/nfsboot.sh
blob: bb689fa3b85f97bf4fc816e315d1e913a348c0e3 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

echo "Starting initramfs boot..."
mkdir /proc
mount -t proc proc /proc
ifconfig eth0 192.168.20.230
mkdir /mnt
mount -t nfs 192.168.20.210:/home/nfs/Angstrom-opie-image-test-h4000 /mnt
cd /mnt
exec switch_root -c /dev/console /mnt /sbin/init