let sxmo_rtcwake.sh set $DISPLAY if unset so the burden isn't on the user

Signed-off-by: Stacy Harper <contact@stacyharper.net>
master
Maarten van Gompel 3 years ago committed by Stacy Harper
parent edc48a01d2
commit 09fcfa9894
No known key found for this signature in database
GPG Key ID: 5BAC92328B7C5D65
  1. 4
      scripts/core/sxmo_rtcwake.sh

@ -49,6 +49,10 @@ if [ "$1" = "--strict" ]; then
fi
fi
if [ -z "$DISPLAY" ]; then
export DISPLAY=":0"
fi
trap 'finish' TERM INT EXIT
blink &

Loading…
Cancel
Save