summaryrefslogtreecommitdiff
path: root/nbfc-set
blob: 90fed27fb94d59054df7daa7c0a028067b71ee8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

set -e

if [ $1 == "--auto" ] || [ $1 == "auto" ] ; then
    sudo nbfc set -f=0 -a
    sudo nbfc set -f=1 -a
    exit 1
fi

sudo nbfc set -f=0 -s $1
sudo nbfc set -f=1 -s $1