armin0012002
Members
-
Joined
-
Last visited
Solutions
-
armin0012002's post in Persistent "Not Available" Plugin Status on Reboot was marked as the answerThe Solution: The "RAM Maneuver"
Move the logic to a separate script, copy it to RAM at boot to "unlock" it, and use a watchdog to wait for the internet.
1. Create /boot/config/watchdog.sh:
#!/bin/bash ( for i in {1..30}; do if ping -c 1 8.8.8.8 &> /dev/null; then sleep 15 # Let DNS settle /usr/local/sbin/plugin checkall break fi sleep 10 done ) & # Load Fan Drivers modprobe nct6775 ignore_resource_conflict=1 && /usr/bin/sensors -s 2. Update /boot/config/go to trigger it:
#!/bin/bash /usr/local/sbin/emhttp & ulimit -n 65535 # Copy to RAM to bypass Flash Drive permission limits cp /boot/config/watchdog.sh /usr/local/bin/watchdog.sh chmod +x /usr/local/bin/watchdog.sh /usr/local/bin/watchdog.sh