Commit a7d70d4e authored by Johannes Schilling's avatar Johannes Schilling
Browse files

wait for device re-connection before restart

parent 680cb14e
cip-foxtemp (6.1) unstable; urgency=medium
* wait for device re-connection before restart
-- Johannes Schilling <johannes.schilling@cs.fau.de> Sat, 22 Jul 2017 01:12:52 +0200
cip-foxtemp (6) unstable; urgency=medium cip-foxtemp (6) unstable; urgency=medium
* use non-priviliged user and port * use non-priviliged user and port
......
...@@ -8,7 +8,9 @@ case "$1" in ...@@ -8,7 +8,9 @@ case "$1" in
# resetting also resets the USB connection, so new udev rules etc. apply # resetting also resets the USB connection, so new udev rules etc. apply
cip-foxtemp-hostsoftware reset cip-foxtemp-hostsoftware reset
# Try to restart # wait for the device to re-register NEEDSWORK
sleep 5
# restart
invoke-rc.d cip-foxtemp-hostsoftware restart || true invoke-rc.d cip-foxtemp-hostsoftware restart || true
;; ;;
esac esac
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment