diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2011-02-10 16:47:11 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2011-02-10 16:47:11 -0300 |
commit | ca888a4fabb768d38874b5f983cd84eba801ae7f (patch) | |
tree | 8dff89ba27b90fceb452afcab510eb46a050e61e /libre-testing/grub2/grub2.install | |
parent | 57d1bfd28e5cc653bfcd392d2968ec1141038c5b (diff) | |
download | abslibre-ca888a4fabb768d38874b5f983cd84eba801ae7f.tar.gz abslibre-ca888a4fabb768d38874b5f983cd84eba801ae7f.tar.bz2 abslibre-ca888a4fabb768d38874b5f983cd84eba801ae7f.zip |
grub2-1.99~rc1-3
Diffstat (limited to 'libre-testing/grub2/grub2.install')
-rw-r--r-- | libre-testing/grub2/grub2.install | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/libre-testing/grub2/grub2.install b/libre-testing/grub2/grub2.install new file mode 100644 index 000000000..898dc9246 --- /dev/null +++ b/libre-testing/grub2/grub2.install @@ -0,0 +1,30 @@ +post_install() { + + if [ -f /boot/grub/grub.cfg.pacsave ]; then + echo "Copying /boot/grub/grub.cfg.pacsave to /boot/grub/grub.cfg" + install -Dm644 /boot/grub/grub.cfg.pacsave /boot/grub/grub.cfg + fi + + echo -n "Generating grub.cfg.example config file... " + grub-mkconfig -o /boot/grub/grub.cfg.example 2> /dev/null + echo "done." + +cat << EOF + An example config file is created at /boot/grub/grub.cfg.example + + For more information and additional config settings please see http://wiki.archlinux.org/index.php/GRUB2 + +EOF + +} + + +post_upgrade() { +cat << EOF + An example config file is created at /boot/grub/grub.cfg.example + + For more information and additional config settings please see http://wiki.archlinux.org/index.php/GRUB2 + +EOF +} + |