This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Main Control script for Free/TrueNAS CORE & SCALE on Western Digital PR2100?/PR4100 | |
# Based off wdhws v1.0 by TFL (stefaang) | |
# # | |
# PLEASE SEE: https://github.com/Coltonton/WD-PR4100-FreeNAS-Control # | |
# # | |
# wdpreinit V1.1 by Coltonton |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Post-init script for FreeNAS on Western Digital PR2100/PR4100 | |
# wdhws v1.0 by TFL | |
# | |
# BSD 3 LICENSE | |
# | |
# thanks unix stackexchange question 231975 | |
setup_tty() { |