NETWORK PRESENCE ABOUT SERVICES PRODUCTS TRAINING CONTACT US SEARCH SUPPORT
 


Search
display results
words begin  exact words  any words part 

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FW1] unload kernel module on Solaris



Title: RE: [FW1] logging locally
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
 
 


 
----------------------------------

ABOUT SERVICES PRODUCTS TRAINING CONTACT US SEARCH SUPPORT SITE MAP LEGAL
   All contents © 2004 Network Presence, LLC. All rights reserved.