Update rmmod_tb.sh

This commit is contained in:
Aditya Garg 2022-11-16 20:23:05 +05:30 committed by GitHub
parent 9a0c311c06
commit 3016827792
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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