fix: path should be absolute

master
Maarten van Gompel 4 years ago
parent cee4917360
commit 010e919d3b
  1. 2
      scripts/core/sxmo_setpermissions.sh

@ -8,7 +8,7 @@ DEVICE="unknown"
#Detecting device #Detecting device
if [ -e /sys/firmware/devicetree/base ]; then 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" DEVICE="pinephone"
fi fi
fi fi

Loading…
Cancel
Save