Treadler
Very Senior Member
As long as you know what needs to be run to "start cake" again, you can manually add lines similar to these as a test:
Test at your own risk since I can't test this myself. But this is the same checkrun command that runs at the top of every hour in the cake-qos script.Bash:#!/bin/sh if [ "$1" = "restart" ] && [ "$2" = "wrs" ]; then { sh /jffs/addons/cake-qos/cake-qos.sh checkrun & } ; fi if [ "$1" = "start" ] && [ "$2" = "sig_check" ]; then { sh /jffs/addons/cake-qos/cake-qos.sh checkrun & } ; fi
I also wouldn't encourage everyone to do this yet, because if it ever gets added to the main script, it will be a pain to deal with these manual entries and any entries the script may want to add in the future, and avoid duplication.
Many thanks!
Did a manual Trend Micro check, Cake died, at top of the hour your solution restarted Cake.
Worst case scenario, Cake will be missing in action for <1 hour.