[Expert@myfw-01]# more cpinfo.sh
#!/bin/sh
DATE=`/bin/date +"%Y%m%d%H%M"`
HOSTNAME=`/bin/hostname`
echo "Date = ${DATE} Hostname = ${HOSTNAME}"
cpinfo -z -o "/var/log/${HOSTNAME}-${DATE}.cpinfo"
md5sum /var/log/${HOSTNAME}-${DATE}.cpinfo.gz > /var/log/${HOSTNAME}-${DATE}.cpinfo.md5sum.txt
[Expert@myfw-01]#
[Expert@myfw-01]#
[Expert@myfw-01]#chmod 755 cpinfo.sh
[Expert@myfw-01]# ./cpinfo.sh
[Expert@myfw-01]#more hinfwe-int01-201602021049.cpinfo.md5sum.txt
069d245e6cc4c63a98f2a5887262ed44 /var/log/hinfwe-int01-201602021049.cpinfo.gz
[Expert@myfwe-int01:0]# cpinfo -y all
------------------------
Hotfix versions
------------------------
[FW1]
HOTFIX_R77_10
HOTFIX_GYPSY_HF_021_005
HOTFIX_R77_20
HOTFIX_R77_20_JUMBO_HF
[SecurePlatform]
HOTFIX_R77_20
HOTFIX_R77_20_JUMBO_HF
[PPACK]
HOTFIX_R77_10
HOTFIX_R77_20
HOTFIX_R77_20_JUMBO_HF
[CVPN]
HOTFIX_R77_10
HOTFIX_R77_20
HOTFIX_R77_20_JUMBO_HF
[CPinfo]
No hotfixes..
[rtm]
No hotfixes..
[Expert@myfwe-int01:0]# cat $CPDIR/registry/HKLM_registry.data | grep Take
:SU_Build_Take (990069092_1)
:SU_Build_Take (990069035_1)
:SU_Build_Take (990069014_1)
:SU_Build_Take (990069009_1)
:Take (91)
[Expert@myfwe-int01:0]#