November 9, 20187 yr Hi all, I would like to have a script run right after the update process runs - basically, once unRAIDserver.plg completes (and before any reboot). Is there a hook / elegant method for that? Thanks!
November 9, 20187 yr Since you have to be involved to run the update, and then you have to be involved to reboot, why not just manually run your script between the update and the reboot? But I have to wonder what this script is supposed to do. After the update is run, you are still running the previous version of Unraid (which is the version that is still in RAM). Only on reboot is the new version loaded into RAM from the flash drive.
November 9, 20187 yr Author 2 minutes ago, trurl said: Since you have to be involved to run the update, and then you have to be involved to reboot, why not just manually run your script between the update and the reboot? Yes, this is what I'm doing now. Just need to remember doing that every time, so wanted to automate. 4 minutes ago, trurl said: But I have to wonder what this script is supposed to do. After the update is run, you are still running the previous version of Unraid (which is the version that is still in RAM). Only on reboot is the new version loaded into RAM from the flash drive. Ah. That's copying the bz* files from /boot (the flash drive) where they are put by the plg, into the actual boot drive (I'm running unRAID in a VM and hence do not really boot from the USB flash).
Archived
This topic is now archived and is closed to further replies.