mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-28 01:59:49 +00:00
Import brltty
This commit is contained in:
1 parent
93c120754a
commit
16fba4d65d
982 files changed
+326586
No files matched your search
@@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
# Make local mount points
|
||||
mkdir -p mnt1 mnt2
|
||||
|
||||
# Work on a copy of bootdisk image
|
||||
cp -f boot.img myboot.img
|
||||
mount myboot.img mnt1 -o loop -t msdos
|
||||
|
||||
# Modify syslinux.cfg
|
||||
cat >cfg <<EOF
|
||||
label brltty
|
||||
kernel vmlinuz
|
||||
append root=/dev/fd0 load_ramdisk=1 prompt_ramdisk=1 lang= text devfs=nomount ramdisk_size=9216
|
||||
EOF
|
||||
cat mnt1/syslinux.cfg |sed 's/default linux/default brltty/' >>cfg
|
||||
cp cfg mnt1/syslinux.cfg
|
||||
umount mnt1
|
||||
Reference in new issue
Block a user