View Single Post
Old 09-21-2020, 07:45 AM   #19
trcm
Connoisseur
trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!trcm rocks like Gibraltar!
 
Posts: 96
Karma: 100000
Join Date: Dec 2018
Location: London
Device: Kobo Libra H2O
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
trcm is offline   Reply With Quote