1 2 3 4 5 6
#!/bin/sh case $1 in pre) /usr/bin/python3 /usr/bin/fw-fanctrl --pause ;; post) /usr/bin/python3 /usr/bin/fw-fanctrl --resume ;; esac