~ubuntu-branches/ubuntu/trusty/grub2/trusty-updates

« back to all changes in this revision

Viewing changes to util/grub.d/00_header.in

  • Committer: Bazaar Package Importer
  • Author(s): Robert Millan
  • Date: 2008-01-28 00:01:11 UTC
  • mto: (17.3.1 squeeze) (1.9.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 16.
  • Revision ID: james.westby@ubuntu.com-20080128000111-0764agvqzg601o1d
Tags: upstream-1.95+20080128
ImportĀ upstreamĀ versionĀ 1.95+20080128

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh -e
2
2
 
3
3
# update-grub helper script.
4
 
# Copyright (C) 2006,2007  Free Software Foundation, Inc.
 
4
# Copyright (C) 2006,2007,2008  Free Software Foundation, Inc.
5
5
#
6
6
# GRUB is free software: you can redistribute it and/or modify
7
7
# it under the terms of the GNU General Public License as published by
24
24
# for convert_system_path_to_grub_path()
25
25
. ${libdir}/grub/update-grub_lib
26
26
 
 
27
# Do this as early as possible, since other commands might depend on it.
 
28
# (e.g. the `font' command might need lvm or raid modules)
 
29
for i in ${GRUB_PRELOAD_MODULES} ; do
 
30
  echo "insmod $i"
 
31
done
 
32
 
27
33
if [ "x${GRUB_DEFAULT}" = "x" ] ; then GRUB_DEFAULT=0 ; fi
28
34
if [ "x${GRUB_TIMEOUT}" = "x" ] ; then GRUB_TIMEOUT=5 ; fi
29
35