Tinkerforge/brickd — pull request #3 by tewdreyer (2012-08-01 08:54:14+00:00)
Title: run brickd as non-root user

hi guys,

this set of commit enables a non-root user to run brickd.

at first adjust the location of brickd's logfile and pidfile. they are now placed in a directory specified by the environment variables TF_RUNTIME_DIR or XDG_RUNTIME_DIR and TF_LOG_DIR. if these variables do not exist, the hardcoded locations are not changed.

second change is related to gathering all connected usb devices. my patch ignores all devices that the user is not able to connect to.

it would be great, if you integrate my patch into your repository.

best regards
tobias dreyer