K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / usr / lib / os-probes / mounted /
server ip : 104.21.89.46

your ip : 172.71.255.47

H O M E


Filename/usr/lib/os-probes/mounted/40lsb
Size891
Permissionrwxr-xr-x
Ownerroot : root
Create time27-Apr-2025 09:58
Last modified13-Jan-2016 00:29
Last accessed27-Apr-2025 10:01
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
#!/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