{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/berkshirestech/telepresence-robot/pulls/4","id":42768211,"html_url":"https://github.com/berkshirestech/telepresence-robot/pull/4","diff_url":"https://github.com/berkshirestech/telepresence-robot/pull/4.diff","patch_url":"https://github.com/berkshirestech/telepresence-robot/pull/4.patch","issue_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/issues/4","number":4,"state":"closed","locked":false,"title":"Added script to setup the pi so that it connects to the web server on boot","user":{"login":"Angineer","id":1020439,"avatar_url":"https://avatars.githubusercontent.com/u/1020439?v=3","gravatar_id":"","url":"https://api.github.com/users/Angineer","html_url":"https://github.com/Angineer","followers_url":"https://api.github.com/users/Angineer/followers","following_url":"https://api.github.com/users/Angineer/following{/other_user}","gists_url":"https://api.github.com/users/Angineer/gists{/gist_id}","starred_url":"https://api.github.com/users/Angineer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Angineer/subscriptions","organizations_url":"https://api.github.com/users/Angineer/orgs","repos_url":"https://api.github.com/users/Angineer/repos","events_url":"https://api.github.com/users/Angineer/events{/privacy}","received_events_url":"https://api.github.com/users/Angineer/received_events","type":"User","site_admin":false},"body":"Here's a little script for the raspberry pi so that it connects to the web server when it boots. The line in the rc.local file will need to be updated with the server address and port (I don't remember what they are).\r\n\r\nThis should probably be added to the existing setup script, but I don't know how the bish stuff works, so I didn't touch it.","created_at":"2015-08-19T01:31:32Z","updated_at":"2015-08-19T03:21:29Z","closed_at":"2015-08-19T03:21:29Z","merged_at":"2015-08-19T03:21:29Z","merge_commit_sha":"1a80723a69c70427c5d60016d6b81330b63601e8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/pulls/4/commits","review_comments_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/pulls/4/comments","review_comment_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/issues/4/comments","statuses_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/statuses/2cd248d96ca2030580874158b1e3f86cdbc9aad7","head":{"label":"Angineer:master","ref":"master","sha":"2cd248d96ca2030580874158b1e3f86cdbc9aad7","user":{"login":"Angineer","id":1020439,"avatar_url":"https://avatars.githubusercontent.com/u/1020439?v=3","gravatar_id":"","url":"https://api.github.com/users/Angineer","html_url":"https://github.com/Angineer","followers_url":"https://api.github.com/users/Angineer/followers","following_url":"https://api.github.com/users/Angineer/following{/other_user}","gists_url":"https://api.github.com/users/Angineer/gists{/gist_id}","starred_url":"https://api.github.com/users/Angineer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Angineer/subscriptions","organizations_url":"https://api.github.com/users/Angineer/orgs","repos_url":"https://api.github.com/users/Angineer/repos","events_url":"https://api.github.com/users/Angineer/events{/privacy}","received_events_url":"https://api.github.com/users/Angineer/received_events","type":"User","site_admin":false},"repo":{"id":41004697,"name":"telepresence-robot","full_name":"Angineer/telepresence-robot","owner":{"login":"Angineer","id":1020439,"avatar_url":"https://avatars.githubusercontent.com/u/1020439?v=3","gravatar_id":"","url":"https://api.github.com/users/Angineer","html_url":"https://github.com/Angineer","followers_url":"https://api.github.com/users/Angineer/followers","following_url":"https://api.github.com/users/Angineer/following{/other_user}","gists_url":"https://api.github.com/users/Angineer/gists{/gist_id}","starred_url":"https://api.github.com/users/Angineer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Angineer/subscriptions","organizations_url":"https://api.github.com/users/Angineer/orgs","repos_url":"https://api.github.com/users/Angineer/repos","events_url":"https://api.github.com/users/Angineer/events{/privacy}","received_events_url":"https://api.github.com/users/Angineer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Angineer/telepresence-robot","description":"","fork":true,"url":"https://api.github.com/repos/Angineer/telepresence-robot","forks_url":"https://api.github.com/repos/Angineer/telepresence-robot/forks","keys_url":"https://api.github.com/repos/Angineer/telepresence-robot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Angineer/telepresence-robot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Angineer/telepresence-robot/teams","hooks_url":"https://api.github.com/repos/Angineer/telepresence-robot/hooks","issue_events_url":"https://api.github.com/repos/Angineer/telepresence-robot/issues/events{/number}","events_url":"https://api.github.com/repos/Angineer/telepresence-robot/events","assignees_url":"https://api.github.com/repos/Angineer/telepresence-robot/assignees{/user}","branches_url":"https://api.github.com/repos/Angineer/telepresence-robot/branches{/branch}","tags_url":"https://api.github.com/repos/Angineer/telepresence-robot/tags","blobs_url":"https://api.github.com/repos/Angineer/telepresence-robot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Angineer/telepresence-robot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Angineer/telepresence-robot/git/refs{/sha}","trees_url":"https://api.github.com/repos/Angineer/telepresence-robot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Angineer/telepresence-robot/statuses/{sha}","languages_url":"https://api.github.com/repos/Angineer/telepresence-robot/languages","stargazers_url":"https://api.github.com/repos/Angineer/telepresence-robot/stargazers","contributors_url":"https://api.github.com/repos/Angineer/telepresence-robot/contributors","subscribers_url":"https://api.github.com/repos/Angineer/telepresence-robot/subscribers","subscription_url":"https://api.github.com/repos/Angineer/telepresence-robot/subscription","commits_url":"https://api.github.com/repos/Angineer/telepresence-robot/commits{/sha}","git_commits_url":"https://api.github.com/repos/Angineer/telepresence-robot/git/commits{/sha}","comments_url":"https://api.github.com/repos/Angineer/telepresence-robot/comments{/number}","issue_comment_url":"https://api.github.com/repos/Angineer/telepresence-robot/issues/comments{/number}","contents_url":"https://api.github.com/repos/Angineer/telepresence-robot/contents/{+path}","compare_url":"https://api.github.com/repos/Angineer/telepresence-robot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Angineer/telepresence-robot/merges","archive_url":"https://api.github.com/repos/Angineer/telepresence-robot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Angineer/telepresence-robot/downloads","issues_url":"https://api.github.com/repos/Angineer/telepresence-robot/issues{/number}","pulls_url":"https://api.github.com/repos/Angineer/telepresence-robot/pulls{/number}","milestones_url":"https://api.github.com/repos/Angineer/telepresence-robot/milestones{/number}","notifications_url":"https://api.github.com/repos/Angineer/telepresence-robot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Angineer/telepresence-robot/labels{/name}","releases_url":"https://api.github.com/repos/Angineer/telepresence-robot/releases{/id}","created_at":"2015-08-19T00:39:32Z","updated_at":"2015-08-19T00:39:32Z","pushed_at":"2015-08-19T01:17:39Z","git_url":"git://github.com/Angineer/telepresence-robot.git","ssh_url":"git@github.com:Angineer/telepresence-robot.git","clone_url":"https://github.com/Angineer/telepresence-robot.git","svn_url":"https://github.com/Angineer/telepresence-robot","homepage":null,"size":84,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"berkshirestech:master","ref":"master","sha":"963f6f575dc94246dd927b493a2a7ced9216422f","user":{"login":"berkshirestech","id":5258377,"avatar_url":"https://avatars.githubusercontent.com/u/5258377?v=3","gravatar_id":"","url":"https://api.github.com/users/berkshirestech","html_url":"https://github.com/berkshirestech","followers_url":"https://api.github.com/users/berkshirestech/followers","following_url":"https://api.github.com/users/berkshirestech/following{/other_user}","gists_url":"https://api.github.com/users/berkshirestech/gists{/gist_id}","starred_url":"https://api.github.com/users/berkshirestech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/berkshirestech/subscriptions","organizations_url":"https://api.github.com/users/berkshirestech/orgs","repos_url":"https://api.github.com/users/berkshirestech/repos","events_url":"https://api.github.com/users/berkshirestech/events{/privacy}","received_events_url":"https://api.github.com/users/berkshirestech/received_events","type":"Organization","site_admin":false},"repo":{"id":31630444,"name":"telepresence-robot","full_name":"berkshirestech/telepresence-robot","owner":{"login":"berkshirestech","id":5258377,"avatar_url":"https://avatars.githubusercontent.com/u/5258377?v=3","gravatar_id":"","url":"https://api.github.com/users/berkshirestech","html_url":"https://github.com/berkshirestech","followers_url":"https://api.github.com/users/berkshirestech/followers","following_url":"https://api.github.com/users/berkshirestech/following{/other_user}","gists_url":"https://api.github.com/users/berkshirestech/gists{/gist_id}","starred_url":"https://api.github.com/users/berkshirestech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/berkshirestech/subscriptions","organizations_url":"https://api.github.com/users/berkshirestech/orgs","repos_url":"https://api.github.com/users/berkshirestech/repos","events_url":"https://api.github.com/users/berkshirestech/events{/privacy}","received_events_url":"https://api.github.com/users/berkshirestech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/berkshirestech/telepresence-robot","description":"","fork":false,"url":"https://api.github.com/repos/berkshirestech/telepresence-robot","forks_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/forks","keys_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/teams","hooks_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/hooks","issue_events_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/issues/events{/number}","events_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/events","assignees_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/assignees{/user}","branches_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/branches{/branch}","tags_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/tags","blobs_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/git/refs{/sha}","trees_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/statuses/{sha}","languages_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/languages","stargazers_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/stargazers","contributors_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/contributors","subscribers_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/subscribers","subscription_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/subscription","commits_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/commits{/sha}","git_commits_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/git/commits{/sha}","comments_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/comments{/number}","issue_comment_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/issues/comments{/number}","contents_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/contents/{+path}","compare_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/merges","archive_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/downloads","issues_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/issues{/number}","pulls_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/pulls{/number}","milestones_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/milestones{/number}","notifications_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/labels{/name}","releases_url":"https://api.github.com/repos/berkshirestech/telepresence-robot/releases{/id}","created_at":"2015-03-04T01:06:13Z","updated_at":"2015-03-17T04:34:21Z","pushed_at":"2015-08-19T03:21:29Z","git_url":"git://github.com/berkshirestech/telepresence-robot.git","ssh_url":"git@github.com:berkshirestech/telepresence-robot.git","clone_url":"https://github.com/berkshirestech/telepresence-robot.git","svn_url":"https://github.com/berkshirestech/telepresence-robot","homepage":null,"size":324,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/berkshirestech/telepresence-robot/pulls/4"},"html":{"href":"https://github.com/berkshirestech/telepresence-robot/pull/4"},"issue":{"href":"https://api.github.com/repos/berkshirestech/telepresence-robot/issues/4"},"comments":{"href":"https://api.github.com/repos/berkshirestech/telepresence-robot/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/berkshirestech/telepresence-robot/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/berkshirestech/telepresence-robot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/berkshirestech/telepresence-robot/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/berkshirestech/telepresence-robot/statuses/2cd248d96ca2030580874158b1e3f86cdbc9aad7"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"tristil","id":15716,"avatar_url":"https://avatars.githubusercontent.com/u/15716?v=3","gravatar_id":"","url":"https://api.github.com/users/tristil","html_url":"https://github.com/tristil","followers_url":"https://api.github.com/users/tristil/followers","following_url":"https://api.github.com/users/tristil/following{/other_user}","gists_url":"https://api.github.com/users/tristil/gists{/gist_id}","starred_url":"https://api.github.com/users/tristil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tristil/subscriptions","organizations_url":"https://api.github.com/users/tristil/orgs","repos_url":"https://api.github.com/users/tristil/repos","events_url":"https://api.github.com/users/tristil/events{/privacy}","received_events_url":"https://api.github.com/users/tristil/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":40,"deletions":0,"changed_files":2}}