blob: eb98a3c5b6f373cf4222946f64b1f3462ea69f57 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
if [ -n "$nv.boot.default" ]; then
exit
fi
# by default pick kernel from MMC card if booting from
# it, otherwise default to boot from internal harddisk
if [ $bootsource = mmc ]; then
global.boot.default=mmc-left
else
global.boot.default=hd-internal
fi
|