diff options
author | Eric Hameleers <alien@slackware.com> | 2018-09-04 21:35:12 +0200 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2018-09-04 21:35:12 +0200 |
commit | 64883e34b1e44a60de1833c9efee1c0647c16b94 (patch) | |
tree | f0824de8b0e36cfb6a85e3711cdd3661632f13c8 /syslinux | |
parent | 0f8b5cc6f83090f8c08b5e54b63956ae330e7eaf (diff) | |
download | liveslak-64883e34b1e44a60de1833c9efee1c0647c16b94.tar.gz liveslak-64883e34b1e44a60de1833c9efee1c0647c16b94.tar.xz |
Make the default language of the Live ISO configurable
Added a new parameter to 'make_slackware_live.sh' script:
-l <localization>
For example, create a liveslak ISO with dutch as the default language
instead of US english:
# ./make_slackware_live.sh -l nl
Using this parameter you can onfigure a different default language
for the resulting ISO image. The default localization if you do not
supply this parameter remains "us" as before.
The boot menu offers a selection of other languages/localizations
to pick from (currently you can select any of 'be br da gb de de_ch es
fr fr_ch it ja nl pt ru se us') but now you can create your own brand
of liveslak ISO with your own language as the default.
Diffstat (limited to 'syslinux')
-rw-r--r-- | syslinux/lang.cfg | 5 | ||||
-rw-r--r-- | syslinux/syslinux.cfg | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/syslinux/lang.cfg b/syslinux/lang.cfg index c171eca..cb37d97 100644 --- a/syslinux/lang.cfg +++ b/syslinux/lang.cfg @@ -49,3 +49,8 @@ menu label russian kernel /boot/generic append initrd=/boot/initrd.img load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 locale=ru_RU.utf8 kbd=ru tz=Europe/Moscow +label us +menu label usa +kernel /boot/generic +append initrd=/boot/initrd.img load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 locale=en_US.utf8 kbd=us tz=US/Pacific + diff --git a/syslinux/syslinux.cfg b/syslinux/syslinux.cfg index 3f4bd5c..41267a4 100644 --- a/syslinux/syslinux.cfg +++ b/syslinux/syslinux.cfg @@ -6,7 +6,7 @@ F1 message.txt F2 f2.txt label live kernel /boot/generic - append initrd=/boot/initrd.img load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 kbd=us tz=localtime locale=us_EN.utf8 + append initrd=/boot/initrd.img load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 tz=localtime include lang.cfg |