mbp-ubuntu/files/suspend/rmmod_tb.sh

7 lines
139 B
Bash
Executable File

#!/bin/sh
if [ "${1}" = "pre" ]; then
modprobe -r apple-touchbar
elif [ "${1}" = "post" ]; then
modprobe apple-touchbar
fi