D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
usr
/
libexec
/
os-probes
/
mounted
/
Filename :
40lsb
back
Copy
#!/bin/sh # Test for LSB systems. set -e . /usr/share/os-prober/common.sh partition="$1" dir="$2" type="$3" lsb_field () { file="$1" field="$2" grep ^"$field" "$file" | cut -d = -f 2 | sed 's/^"//' | sed 's/"$//' | sed 's/:/ /g' } file="$dir/etc/lsb-release" if [ ! -e "$file" ]; then exit 1 fi release=$(lsb_field "$file" DISTRIB_RELEASE) if [ -z "$release" ]; then release=$(lsb_field "$file" DISTRIB_CODENAME) fi description=$(lsb_field "$file" DISTRIB_DESCRIPTION) if [ -z "$description" ]; then description=$(lsb_field "$file" DISTRIB_CODENAME) fi if [ -n "$description" ]; then if [ -n "$release" ]; then long="$description ($release)" else long="$description" fi else exit 1 fi short=$(lsb_field "$file" DISTRIB_ID | sed 's/ //g') if [ -z "$short" ]; then short="UnknownLSB" fi label="$(count_next_label "$short")" result "$partition:$long:$label:linux" exit 0
Name
Size
Last Modified
Owner
Permissions
Actions
efi
Dir
July 28 2023 2:56:12
root
0755
05efi
2.024
KB
October 09 2021 2:56:52
root
0755
10freedos
0.505
KB
October 09 2021 2:56:52
root
0755
10qnx
0.381
KB
October 09 2021 2:56:52
root
0755
20macosx
0.822
KB
October 09 2021 2:56:52
root
0755
20microsoft
3.366
KB
October 09 2021 2:56:52
root
0755
30utility
0.843
KB
October 09 2021 2:56:52
root
0755
40lsb
0.87
KB
October 09 2021 2:56:52
root
0755
70hurd
0.241
KB
October 09 2021 2:56:52
root
0755
80minix
0.421
KB
October 09 2021 2:56:52
root
0755
83haiku
0.863
KB
October 09 2021 2:56:52
root
0755
90linux-distro
5.6
KB
October 09 2021 2:56:52
root
0755
90solaris
0.376
KB
October 09 2021 2:56:52
root
0755
2017 © D7net | D704T team