Skip to content

Commit

Permalink
Ensure sg2d_directory is set in main.cfg or afd2012.cfg
Browse files Browse the repository at this point in the history
That way if a grub2 based integrator configfiles one of these files
it should work as expected
  • Loading branch information
adriangibanelbtactic committed Nov 8, 2017
1 parent f508220 commit 2b8cda0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions menus/afd2012.cfg
Expand Up @@ -13,6 +13,9 @@
#
# You should have received a copy of the GNU General Public License
# along with Super Grub Disk. If not, see <http://www.gnu.org/licenses/>.
set sg2d_directory="${config_directory}"
export sg2d_directory

set saved_root=$root

insmod regexp
Expand Down
3 changes: 3 additions & 0 deletions menus/sgd/main.cfg
Expand Up @@ -16,6 +16,9 @@

# Configure gfxterm, but allow it to be disabled by holding shift during boot.
# gfxterm is required to display non-ASCII translations.
set sg2d_directory="${config_directory}"
export sg2d_directory


loadfont "$prefix/unifont.pf2"
if keystatus --shift; then
Expand Down

0 comments on commit 2b8cda0

Please sign in to comment.