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 : 172.67.156.115

your ip : 172.70.131.114

H O M E


Filename/usr/lib/os-probes/mounted/20macosx
Size719
Permissionrwxr-xr-x
Ownerroot : root
Create time27-Apr-2025 09:58
Last modified13-Jan-2016 00:29
Last accessed06-Jul-2025 16:32
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
#!/bin/sh -e
# Detects Mac OS X. I don't yet know how Mac OS <= 9 fits into this.
. /usr/share/os-prober/common.sh

partition="$1"
mpoint="$2"
type="$3"

debug() {
logger -t macosx-prober "debug: $@"
}

# Weed out stuff that doesn't apply to us
case "$type" in
hfsplus) debug "$1 is an HFS+ partition" ;;
*) debug "$1 is not an HFS+ partition: exiting"; exit 1 ;;
esac

# Could use a better test than this.
# /System/Library/CoreServices/SystemVersion.plist has version information,
# but I don't think it exists on Mac OS <= 9, and it's XML so parsing in
# shell will be nasty.

if [ -e "$2/mach_kernel" ]; then
label="$(count_next_label MacOSX)"
result "$1:Mac OS X:$label:macosx"
exit 0
else
exit 1
fi