#!/bin/ksh

FWDIR=/path/to/fwdir
$FWDIR/bin/fw logswitch

if [ "$?" -ne 0 ]; then

  echo "Not successful."

else

  echo "Successful."

fi

-----Original Message-----
From: Guillaume, Reginald [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 23, 2001 6:27 PM
To: Worldwide Support (E-mail)
Subject: [FW1] FW1: Log switch SCRIPTS
Sensitivity: Personal


Hi all,
   
            I am currently setting up a script to do my log switch
automatically I was wondering 
about the fw.log return codes needed to complete it. Those codes will tell
the script when 
the log switch is successful or not. 
            Please any Help will be greatly appreciated.
 
     Thanks.
       Reg
 
   


================================================================================
     To unsubscribe from this mailing list, please see the instructions at
               http://www.checkpoint.com/services/mailing.html
================================================================================

Reply via email to