mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-08-20 17:35:33 +03:00
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33511 3c298f89-4303-0410-b956-a3cf2f4a3e73
14 lines
288 B
Bash
Executable File
14 lines
288 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Copyright (C) 2006-2010 OpenWrt.org
|
|
. ./gen_image_generic.sh
|
|
|
|
which chpax >/dev/null && chpax -zp $(which grub)
|
|
grub --batch --no-curses --no-floppy --device-map=/dev/null <<EOF
|
|
device (hd0) $OUTPUT
|
|
geometry (hd0) $cyl $head $sect
|
|
root (hd0,0)
|
|
setup (hd0)
|
|
quit
|
|
EOF
|
|
|