Commit 1ca3f7b9 authored by Johannes Schilling's avatar Johannes Schilling
Browse files

proper restart, version bump again (commit early, build often)

parent a7d70d4e
cip-foxtemp (6.2) unstable; urgency=medium
* proper restart, version bump again (commit early, build often)
-- Johannes Schilling <johannes.schilling@cs.fau.de> Sat, 22 Jul 2017 01:46:35 +0200
cip-foxtemp (6.1) unstable; urgency=medium
* wait for device re-connection before restart
......
......@@ -6,12 +6,14 @@ case "$1" in
configure)
adduser --quiet --system --home / --no-create-home foxtemp
## stop, else we cannot reset
invoke-rc.d cip-foxtemp-hostsoftware stop
# resetting also resets the USB connection, so new udev rules etc. apply
cip-foxtemp-hostsoftware reset
# 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 start
;;
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