mbp-ubuntu/files/suspend/rmmod_tb.sh

7 lines
135 B
Bash
Executable File

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