diff options
Diffstat (limited to 'src/common.inc')
-rw-r--r-- | src/common.inc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/common.inc b/src/common.inc index 7a7ba6b..cf6bc2e 100644 --- a/src/common.inc +++ b/src/common.inc @@ -875,6 +875,8 @@ } def +/kernel_str 256 string def + % - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - % ( text ) == > ( new_text ) /menuitemmap { @@ -908,9 +910,11 @@ dup "mediachk" eq { pop txt_mediacheck return } if dup "mediacheck" eq { pop txt_mediacheck return } if } { - dup "linux" eq { pop "Linux" return } if + dup "linux" eq { pop txt_linux return } if dup "failsafe" eq { pop txt_safe_linux return } if - dup "windows" eq { pop "Windows" return } if + dup "windows" eq { pop txt_windows return } if + dup "2.6" strstr 1 eq { txt_linux_kernel_version kernel_str sprintf + kernel_str return } if } ifelse } def |