Below is part of fwstop script provided by
CheckPoint (V4.1). They never works on Solaris because these commands are either
incorrect or used with wrong options. That's modstat should read modinfo, and
"modunload -id $id" should read modunload -i $id".
I guess it doesn't matter since this part is not
esential.
Regards.
--Jimmy Wang
====================fwstop===================
set id = `modstat | awk 'BEGIN { found = 1; }
{ for(i = 2; i <= NF; i++) if($i == "fw") { print $1; found = 0; }} END
{ exit found; }'` ....
...
echo 'FW: Unloading kernel module' modunload -id
$id
|