a bunch of noob scripts for truenas scale.
Grab the next IP by running this command. optional flags:
- list-apps
curl -sSL https://raw.githubusercontent.com/xstar97/scale-scripts/main/scripts/NextAvailableIP.sh | bash -scurl -sSL https://raw.githubusercontent.com/xstar97/scale-scripts/main/scripts/NextAvailableIP.sh | bash -s list-appsdownload the script
wget https://raw.githubusercontent.com/xstar97/scale-scripts/main/scripts/smbAuxUpdater.shedit the script and change some values that say CHANGE_ME.
- BASE_URL
- AUTH_TOKEN
- SMB_USERS
nano smbAuxUpdater.shmake the script executable and run it.
chmod +x smbAuxUpdater.shsmbAuxUpdater.sh