added secrets

This commit is contained in:
2021-05-09 00:00:36 +05:30
parent 0f51622ac9
commit 422ab9c1eb
38 changed files with 517 additions and 82 deletions

View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
#Script to control fans via nbfc in /opt/nbfc
if [[ $1 = "a" ]]; then
mono /opt/nbfc/nbfc.exe set -f 0 -a
else
mono /opt/nbfc/nbfc.exe set -f 0 -s $1
fi
if [[ $2 = "a" ]]; then
mono /opt/nbfc/nbfc.exe set -f 1 -a
else
mono /opt/nbfc/nbfc.exe set -f 1 -s $2
fi