Coltonton / WD-PR4100-FreeNAS-Control

Hardware control for the WD PR4100 running stefaang's Freenas
4 stars 0 forks source link

--InDev--

Drag Racing

Version 1.1 (03-26-2024)

WD PR4100 FreeNAS Hardware Control

Hardware control for the WD PR4100 running @stefaang's Freenas found HERE. All work is based off his basic hardware control script found here. I've simply made it better/more functional

Instalation:

  1. SSH into your FreeNas Box
  2. Make a directory in your prefered location to store managment scripts & enter it.
  3. Enter git clone https://github.com/Coltonton/WD-PR4100-FreeNAS-Control (or your repo)
  4. Enter cd WD-PR4100-FreeNAS-Control
  5. Enter chmod +x wdpreinit.sh && chmod +x wdpostinit.sh && chmod +x wdshutdown.sh
  6. Close SSH and Enter your box's web UI
  7. Goto Tasks -> Init/Shutdown Scripts
  8. Click th + to add a new Task
  9. For Type, choose Script and choose the script you wish to add in the browser or by entering it's path
  10. For When select when you want each script to run (Pre-Init, Post-Init, Shutdown)
  11. Make sure enabled is checked
  12. Click save, reboot your box, and then enjoy!

    Feel free to modify any of the scripts at your will and risk, a few things can be easily modified like PowerLED color, state, and Welcome Text. (Info on later, I do have some in the comments)

Added Features:

To Add: