[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [FW-1] Problem Running Shell Scripts on Nokia
Here is my script in question. #! /bin/sh ./var/etc/pm_profile cd /var/fw/log PERIOD=`date +%d%b%Y-%H:%M:%S` LOGDIR=/var/admin/logs $FWDIR/bin/fw logswitch $PERIOD 2> /dev/null 2>&1 $FWDIR/bin/fw logexport -d , -i $PERIOD.log > $LOGDIR/fwlog.$PERIOD Everything seems to point to the very first line. I have commented out everything but the #! /bin/sh line, and I still get the error. If I comment out this line, I get script errors on the rest, so it looks like it is running the script. I have manually run /bin/sh, and get the # prompt, so I know it works okay. Thanks, Sean ================================================= To set vacation, Out Of Office, or away messages, send an email to [email protected] in the BODY of the email add: set fw-1-mailinglist nomail ================================================= To unsubscribe from this mailing list, please see the instructions at http://www.checkpoint.com/services/mailing.html ================================================= If you have any questions on how to change your subscription options, email [email protected] =================================================
|