mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 07:20:11 +00:00
Replace kmodstat by kldstat
FreeBSD uses kldstat instead of kmodstat to get the stats of the dynamically loaded kernel modules. Change-Id: I3f658469e60f48b50a81e6ab5bcc507186fd8c5a Reviewed-on: http://gerrit.openafs.org/1694 Reviewed-by: Derrick Brashear <shadow@dementia.org> Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
parent
f61d2ba1c9
commit
568a407856
@ -24,7 +24,7 @@ fi
|
|||||||
|
|
||||||
# Need the commands ps, awk, kill, sleep
|
# Need the commands ps, awk, kill, sleep
|
||||||
PATH=${PATH}${PATH:+:}/sbin:/bin:/usr/bin
|
PATH=${PATH}${PATH:+:}/sbin:/bin:/usr/bin
|
||||||
if kmodstat | grep -q afs.ko ; then
|
if kldstat | grep -q afs.ko ; then
|
||||||
:
|
:
|
||||||
else
|
else
|
||||||
if [ -f $VICEETC/afs.ko ]; then
|
if [ -f $VICEETC/afs.ko ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user