summarylogtreecommitdiffstats
path: root/os-prober-frugalware.diff
diff options
context:
space:
mode:
Diffstat (limited to 'os-prober-frugalware.diff')
-rw-r--r--os-prober-frugalware.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/os-prober-frugalware.diff b/os-prober-frugalware.diff
new file mode 100644
index 00000000000..b1c99e4b9d0
--- /dev/null
+++ b/os-prober-frugalware.diff
@@ -0,0 +1,13 @@
+diff --git a/os-probes/mounted/common/90linux-distro b/os-probes/mounted/common/90linux-distro
+index 144320f..d5158cf 100755
+--- a/os-probes/mounted/common/90linux-distro
++++ b/os-probes/mounted/common/90linux-distro
+@@ -111,7 +111,7 @@ if ls "$dir"/lib*/ld*.so* >/dev/null 2>/dev/null; then
+ long="Caldera OpenLinux"
+ elif [ -e "$dir/etc/frugalware-release" ]; then
+ short="Frugalware Linux"
+- long="$(cat "$dir/etc/frugalware-release")"
++ long="$(cat $dir/etc/frugalware-release) - $(ls $dir/boot/vmlinuz-*|sed -n 's|.*vmlinuz-||;$ p')"
+ elif [ -e "$dir/etc/kdemar-release" ]; then
+ short="K-DEMar"
+ long="$(printf "K-DEMar GNU/Linux (%s)\n" "$(cat "$dir/etc/kdemar-release")")"