| CPUG | |
| The Check Point User Group | |
| A Resource For The Check Point Community. Fast. Useful. Independent. | |
|
| |||||||
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| So I'm trying to make a script that will output "fw ver" information and run a comparison. Essentially, my issue is when I run this manually (the script or the command itself), it outputs: This is Check Point VPN-1(TM) & FireWall-1(R) NG with Application Intelligence (R55) HFA_19, Hotfix 848 - Build 022 When cron runs the script (as I'm trying to automate this), it outputs: This is Check Point VPN-1(TM) & FireWall-1(R) Major Version 5, Feature Pack 4, Service Pack 1, Hotfix 848 - B uild 022 This is a problem because for the script, I'm trying to compare what "fw ver" will output against what it is expected to be (stored in a seperate file). Does anyone know how to manipulate the command so said example would output identical information, especially as cron? This is really driving me nuts... I've tried other commands, such as /bin/ver, or /bin/cpver_start, which point to files within the $CPDIR directory... Anyhow, the underlying problem seems to be that the script runs differently (specifically any of these version commands) as cron! Thanks. |
| |||
| Try using /bin/cpfw_start [Expert@irish]# which fw alias fw='/bin/cpfw_start' /bin/cpfw_start [Expert@irish]# ls -la /bin/cpfw_start -rwxr-xr-x 1 root root 80 Oct 11 2006 /bin/cpfw_start [Expert@irish]# |
![]() |
| Thread Tools | |
| Display Modes | |
| |