Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
grub
grub-install
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File grub-install of Package grub
#!/bin/sh # Instead of the unsupported guessing method of the original grub-install # script, use the grub installation scriptlet generated by yast. if [ $# -gt 0 ]; then echo 'WARNING! You are trying to invoke the unsupported grub-install script' echo 'with a parameter. To really do this, call grub-install.unsupported.' echo 'You should rather call "yast2 bootloader" or create configuration files' echo 'appropriate for the intended target.' exit 1 fi # Sanity check test -x /usr/sbin/grub && \ grep -q quit /etc/grub.conf 2>/dev/null && \ grub --batch < /etc/grub.conf && exit 0 # Sanity check failed -- call yast2 /sbin/yast2 bootloader # Try again. This time it must succeed, otherwise return the error. grub --batch < /etc/grub.conf
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor