Step 6 can just be this so you get just the correct processes :
# pgrep -fl ota
I added a step 5.5, so that if anything tries to call these binaries, it gets a successful exit code rather than an error :
# echo "/bin/true" > /usr/bin/otav3
# echo "/bin/true" > /usr/bin/otaupd
# chmod +x /usr/bin/otav3 /usr/bin/otaupd
Finally, I commented out (prefixed with '#') these lines in /etc/crontab/root :
- The /usr/sbin/checkpmond line
- All the /usr/sbin/loginfo lines
- The OTAFILE line
- The record_dem_heartbeat_cronjob.sh line
Last edited by trcm; 09-21-2020 at 07:57 AM.
Reason: fix because /bin/true is busybox
|