mirror of
https://github.com/t2linux/T2-Ubuntu.git
synced 2024-09-11 13:17:27 +03:00
Double equals doesn't work between single brackets
the POSIX standard doesn't required `==` to work between single brackets. This change should fix the touchbar failing to reinitialize after suspend.
This commit is contained in:
parent
704a015391
commit
f73f7da85c
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
if [ "${1}" == "pre" ]; then
|
||||
if [ "${1}" = "pre" ]; then
|
||||
modprobe -r apple_ib_tb
|
||||
elif [ "${1}" == "post" ]; then
|
||||
elif [ "${1}" = "post" ]; then
|
||||
modprobe apple_ib_tb
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user