core/grub2/grub2.install

18 lines
276 B
Plaintext
Raw Normal View History

2010-11-14 06:20:42 +08:00
post_install() {
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/grug/grub.cfg.example
EOF
}
post_upgrade() {
post_install
}