{"action":"created","issue":{"url":"https://api.github.com/repos/stevejenkins/unifi-linux-utils/issues/15","repository_url":"https://api.github.com/repos/stevejenkins/unifi-linux-utils","labels_url":"https://api.github.com/repos/stevejenkins/unifi-linux-utils/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/stevejenkins/unifi-linux-utils/issues/15/comments","events_url":"https://api.github.com/repos/stevejenkins/unifi-linux-utils/issues/15/events","html_url":"https://github.com/stevejenkins/unifi-linux-utils/issues/15","id":248583556,"number":15,"title":"Not running on Debian","user":{"login":"pcolomes","id":30818006,"avatar_url":"https://avatars2.githubusercontent.com/u/30818006?v=4","gravatar_id":"","url":"https://api.github.com/users/pcolomes","html_url":"https://github.com/pcolomes","followers_url":"https://api.github.com/users/pcolomes/followers","following_url":"https://api.github.com/users/pcolomes/following{/other_user}","gists_url":"https://api.github.com/users/pcolomes/gists{/gist_id}","starred_url":"https://api.github.com/users/pcolomes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcolomes/subscriptions","organizations_url":"https://api.github.com/users/pcolomes/orgs","repos_url":"https://api.github.com/users/pcolomes/repos","events_url":"https://api.github.com/users/pcolomes/events{/privacy}","received_events_url":"https://api.github.com/users/pcolomes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-08T02:32:28Z","updated_at":"2018-03-26T23:33:30Z","closed_at":null,"author_association":"NONE","body":"At least under Debian this won't work:\r\nuap_list=( \"192.168.0.2\" \"192.168.0.3\" )\r\n\r\nThis is the error:\r\nroot@unifi:/etc/cron.daily# sh uap_reboot.sh\r\nuap_reboot.sh: 20: uap_reboot.sh: Syntax error: \"(\" unexpected\r\n\r\nbut changing the line to\r\nuap_list=( 192.168.0.2 192.168.0.3 )\r\nsolves the problem."},"comment":{"url":"https://api.github.com/repos/stevejenkins/unifi-linux-utils/issues/comments/376345956","html_url":"https://github.com/stevejenkins/unifi-linux-utils/issues/15#issuecomment-376345956","issue_url":"https://api.github.com/repos/stevejenkins/unifi-linux-utils/issues/15","id":376345956,"user":{"login":"stevejenkins","id":858627,"avatar_url":"https://avatars0.githubusercontent.com/u/858627?v=4","gravatar_id":"","url":"https://api.github.com/users/stevejenkins","html_url":"https://github.com/stevejenkins","followers_url":"https://api.github.com/users/stevejenkins/followers","following_url":"https://api.github.com/users/stevejenkins/following{/other_user}","gists_url":"https://api.github.com/users/stevejenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/stevejenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevejenkins/subscriptions","organizations_url":"https://api.github.com/users/stevejenkins/orgs","repos_url":"https://api.github.com/users/stevejenkins/repos","events_url":"https://api.github.com/users/stevejenkins/events{/privacy}","received_events_url":"https://api.github.com/users/stevejenkins/received_events","type":"User","site_admin":false},"created_at":"2018-03-26T23:33:30Z","updated_at":"2018-03-26T23:33:30Z","author_association":"OWNER","body":"I've verified this also works on CentOS, so will make this change."}}
{"actor":{"display_login":"stevejenkins"}}