aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Barksdale <amatus@amatus.name>2014-10-29 12:00:38 -0500
committerDavid Barksdale <amatus@amatus.name>2014-10-29 12:00:38 -0500
commit410d5e6b670308590c9b00573307a772262c6e4e (patch)
tree8ded31bd2e1fcef1c2e7717cb81e12d4302ed9a1
parent57f4107c83d9e08cda68df755edda37d64081042 (diff)
Restart touchscreen after suspend/resume
-rwxr-xr-xgobook-xr1-touchscreen2
1 files changed, 1 insertions, 1 deletions
diff --git a/gobook-xr1-touchscreen b/gobook-xr1-touchscreen
index 1e42cf9..cb14dcf 100755
--- a/gobook-xr1-touchscreen
+++ b/gobook-xr1-touchscreen
@@ -22,7 +22,7 @@ test -x $DAEMON || exit 0
case "$1" in
start)
- "$DAEMON" --daemon --always -t213 /dev/ttyS3
+ (while "$DAEMON" --always -t213 /dev/ttyS3; do sleep 1; done)&
;;
*)
echo "Usage: $SCRIPTNAME {start}" >&2