fix: path should be absolute
This commit is contained in:
parent
cee4917360
commit
010e919d3b
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ DEVICE="unknown"
|
|||
|
||||
#Detecting device
|
||||
if [ -e /sys/firmware/devicetree/base ]; then
|
||||
if grep -q pinephone compatible; then
|
||||
if grep -q pinephone /sys/firmware/devicetree/base/compatible; then
|
||||
DEVICE="pinephone"
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue