summaryrefslogtreecommitdiffstats
path: root/defaultenv-2/base/boot/initrd
blob: 79a353a10a79238d01f5135c58487289b2254293 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

if [ "$1" = menu ]; then
	boot-menu-add-entry "$0" "kernel + initrd via tftp"
	exit
fi

path="/mnt/tftp"
global.bootm.image="${path}/${global.user}-linux-${global.hostname}"
global.bootm.initrd="${path}/initramfs"
bootargs-root-initrd
#global.bootm.oftree=<path to oftree>

global.linux.bootargs.root="root=/dev/ram0"

#bootargs-root-nfs -n "<path on server>" -s <serverip>
#bootargs-root-ubi -r <volume> -m <mtdname>