June 17, 201115 yr I would like suggestions on how to implement a "safe mode" for unRaid. Here is how I'd like it to work. If the machine is stopped without a clean shutdown, I would like my go script to skip loading almost all items except for unMenu, and set an alert that would be visible on the unMenu main page. It would be nice also to manually set the "no load" flag before a clean shutdown for diagnostic purposes as well. My thoughts to implement this would be two different files that could be checked for their existence, or a single file that would be parsed for content. The powerdown script would clear one flag, and the go script would check for either flag, and set the flag that is automatically cleared on shutdown. I have the concept pretty clear of what I want, but don't have the coding skills to make sure it works properly. If implemented well, I think it could be a very valuable troubleshooting tool, and could possibly keep us from having to remove the USB stick to manually edit the go script if something is added that crashes the box. Jonathan P.S. I'm currently running 4.7, but I think this would be nice to have in any version, and should be relatively easy to port to any version.
Archived
This topic is now archived and is closed to further replies.