mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
parent
c3feb5c5c1
commit
83d065a6b3
1 changed files with 4 additions and 2 deletions
|
@ -19,9 +19,11 @@ case FreeBSD
|
|||
exec 9pfuse $1 $2
|
||||
echo 'don''t know how to mount (no fuse)' >[1=2]
|
||||
case Darwin
|
||||
if(sysctl fuse.version |9 grep -si 'fuse.version' ||
|
||||
sysctl macfuse.version.number |9 grep -si 'fuse.version' ||
|
||||
if(sysctl fuse.version >[2]/dev/null |9 grep -si 'fuse.version' ||
|
||||
sysctl macfuse.version.number >[2]/dev/null |9 grep -si 'fuse.version' ||
|
||||
sysctl osxfuse.version.number >[2]/dev/null |9 grep -si 'fuse.version' ||
|
||||
test -d /System/Library/Extensions/fusefs.kext ||
|
||||
test -d /Library/Filesystems/osxfusefs.fs/Support/osxfusefs.kext ||
|
||||
test -d /Library/Filesystems/fusefs.fs/Support/fusefs.kext)
|
||||
exec 9pfuse $1 $2
|
||||
echo 'don''t know how to mount (no fuse)' >[1=2]
|
||||
|
|
Loading…
Reference in a new issue