cmstart.sh: exec xcompmgr (#149)

This will release resources used by /bin/sh process
This commit is contained in:
Elan Ruusamäe 2021-01-19 23:09:49 +02:00 committed by GitHub
parent 120b3bb4f5
commit 74885481d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh
if grep -q okay /proc/device-tree/soc/v3d@7ec00000/status 2> /dev/null || grep -q okay /proc/device-tree/soc/firmwarekms@7e600000/status 2> /dev/null ; then if grep -q okay /proc/device-tree/soc/v3d@7ec00000/status 2> /dev/null || grep -q okay /proc/device-tree/soc/firmwarekms@7e600000/status 2> /dev/null ; then
xcompmgr -aR exec xcompmgr -aR
fi fi