blob: 12ae6381b24de6775d9b1d8f3ab8dcbd37c32228 (
plain)
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" "Linux over usb"
exit
fi
path=/mnt/usb
global.bootm.image=${path}/zImage
initrd=${path}/initrd
if [ -f ${initrd} ]; then
global.bootm.initrd=${initrd}
global.linux.bootargs.base="console=ttyO0,115200n8 root=/dev/ram0"
else
global.linux.bootargs.base="console=ttyO0,115200n8"
fi
|