From: Aditya Sarawgi Date: Mon, 5 Apr 2010 17:25:48 +0000 (+0530) Subject: Replace kmodstat by kldstat X-Git-Tag: openafs-devel-1_5_73_3~6 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=568a4078563e2cb9bd89409486e361357cc18450;p=packages%2Fo%2Fopenafs.git 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 --- diff --git a/src/afsd/afs.rc.fbsd b/src/afsd/afs.rc.fbsd index d7d77e41c..f0b9e9614 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