The provided scripts are to run on Braiins OS version 21.04 https://braiins.com/os-firmware
The scripts are run from a cronjob that switches the Antminer S9 from mining with one hashboard to two hasboards and vice versa, following a determined schedule.