diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-07-16 08:08:15 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-07-16 08:08:15 +0000 |
commit | fbeef61a9ce524ecd64990f8a36470600cf52ba7 (patch) | |
tree | 48a73bda63fa4ef2d2d41981e8455dbdf2386f48 /main/syslinux/update-extlinux | |
parent | 175f0e44022de6fe9123195e5d2a2f2ece235728 (diff) | |
download | aports-fbeef61a9ce524ecd64990f8a36470600cf52ba7.tar.bz2 aports-fbeef61a9ce524ecd64990f8a36470600cf52ba7.tar.xz |
main/syslinux: update-extlinux use 'vanilla' as label in menu
Diffstat (limited to 'main/syslinux/update-extlinux')
-rwxr-xr-x | main/syslinux/update-extlinux | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/main/syslinux/update-extlinux b/main/syslinux/update-extlinux index b272ffd721..2efb7cb6f4 100755 --- a/main/syslinux/update-extlinux +++ b/main/syslinux/update-extlinux @@ -124,7 +124,11 @@ for kernel in $(find /boot -name "vmlinuz*" -type f); do everbose "Found kernel: $kernel" label=$(grep -w -l $tag /usr/share/kernel/*/kernel.release | cut -d/ -f5) if [ -z "$label" ]; then - label=$lst + if [ "$tag" = vanilla ]; then + label="vanilla" + else + label=$lst + fi fi echo "LABEL $label" >> $conf.new if [ "$label" = "$default" ]; then |