[debian-knoppix] Patches for knoppix-autoconfig
attached are 3 small patches for knoppix-autoconfig and here's a brief
description of them (in order of importance):
This patch does two things:
A: adds "export TZ" after it has finally set TZ from the cheatcode
B: moves the section of code that checks for the gmt or utc
cheatcodes and the hwclock call and places them after the TZ export
The reason for this is that hwclock uses the TZ environment variable so
when TZ isn't exported the hwclock assumes the wrong timezone. hwclock
was also being called before a tz= cheatcode had been dealt with.
This patch simply adds a lang=ie cheatcode for Ireland (English language).
This patch cleans up the comments which name the languages so things are
capitalised consistently, full names are always given (i.e. Belgian not
BE, American not US) and the comment line appears in the same place in
Hope all above are ok.
< # BE version
> # Belgian version
< # BG version
> # Bulgarian version
< # Swiss version (basically de with some modifications)
> # Swiss version (basically de with some modifications)
< # Czech version
> # Czech version
< # finnish version, though we may not have the kde-i18n files
> # Finnish version, though we may not have the kde-i18n files
< # french version
> # French version
< # italian version
> # Italian version
< # (limited) japanese version
> # (limited) Japanese version
< # netherland version
> # Dutch version
< # Slovenian keyboard
> # Slovenian keyboard
< # Traditional chinese version (thanks to Chung-Yen Chang)
> # Traditional Chinese version (thanks to Chung-Yen Chang)
< # british version
> # British version
< # US version
> # American version
< # Set clock (Local time is more often used than GMT, so it is default)
< checkbootparam utc >/dev/null 2>&1 && UTC="-u"
< checkbootparam gmt >/dev/null 2>&1 && UTC="-u"
< hwclock $UTC -s
> export TZ
> # Set clock (Local time is more often used than GMT, so it is default)
> checkbootparam utc >/dev/null 2>&1 && UTC="-u"
> checkbootparam gmt >/dev/null 2>&1 && UTC="-u"
> hwclock $UTC -s
> # Irish (English) version
> #Additional KDE Keyboards