mirror of https://github.com/marcosfad/mbp-ubuntu
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
|
#!/bin/sh
|
||||||
if [ "${1}" == "pre" ]; then
|
if [ "${1}" = "pre" ]; then
|
||||||
modprobe -r apple_ib_tb
|
modprobe -r apple_ib_tb
|
||||||
elif [ "${1}" == "post" ]; then
|
elif [ "${1}" = "post" ]; then
|
||||||
modprobe apple_ib_tb
|
modprobe apple_ib_tb
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue