From 568a4078563e2cb9bd89409486e361357cc18450 Mon Sep 17 00:00:00 2001 From: Aditya Sarawgi Date: Mon, 5 Apr 2010 22:55:48 +0530 Subject: [PATCH] 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 Tested-by: Derrick Brashear --- src/afsd/afs.rc.fbsd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/afsd/afs.rc.fbsd b/src/afsd/afs.rc.fbsd index d7d77e41ce..f0b9e96146 100644 --- a/src/afsd/afs.rc.fbsd +++ b/src/afsd/afs.rc.fbsd @@ -24,7 +24,7 @@ fi # Need the commands ps, awk, kill, sleep PATH=${PATH}${PATH:+:}/sbin:/bin:/usr/bin -if kmodstat | grep -q afs.ko ; then +if kldstat | grep -q afs.ko ; then : else if [ -f $VICEETC/afs.ko ]; then