--InDev--
Version 1.1 (03-26-2024)
- Added Support for Linux based TrueNAS Scale along side TrueNAS Core for PR4100 as per the request and help of @SuperDope & @nestandi
- Fixed Some Typos/Cleaned up while here
- More Comments = More Better
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:
- SSH into your FreeNas Box
- Make a directory in your prefered location to store managment scripts & enter it.
- Enter
git clone https://github.com/Coltonton/WD-PR4100-FreeNAS-Control
(or your repo)
- Enter
cd WD-PR4100-FreeNAS-Control
- Enter
chmod +x wdpreinit.sh && chmod +x wdpostinit.sh && chmod +x wdshutdown.sh
- Close SSH and Enter your box's web UI
- Goto Tasks -> Init/Shutdown Scripts
- Click th + to add a new Task
- For
Type
, choose Script
and choose the script you wish to add in the browser or by entering it's path
- For
When
select when you want each script to run (Pre-Init, Post-Init, Shutdown)
- Make sure enabled is checked
-
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:
- TrueNAS Scale Support
- Easy LED Control
- An actual Fan control profile (may need tuning use at your own risk)
- Seperate Scripts for Pre-Init / Post-Init(main) / Shutdown
To Add:
- Maybe a full on device menu?
- Make easier for users to edit custom stuff / give options?