$min3 */1 * * * /home/${PLC_SLICE_PREFIX}_myops/update.sh
EOF
-yum install -y lshw
+if [ ! -x /usr/sbin/lshw ] ; then
+ yum install -y lshw
+fi
+
+if [ ! -f /usr/boot/myops_cacert.pem ] ; then
+ mkdir -p /usr/boot
+ cp -f myops_cacert.pem /usr/boot/myops_cacert.pem
+fi
chmod 755 /home/${PLC_SLICE_PREFIX}_myops/collect.sh
chmod 755 /home/${PLC_SLICE_PREFIX}_myops/upload.sh