{"action":"opened","issue":{"url":"https://api.github.com/repos/Entware-ng/Entware-ng/issues/261","repository_url":"https://api.github.com/repos/Entware-ng/Entware-ng","labels_url":"https://api.github.com/repos/Entware-ng/Entware-ng/issues/261/labels{/name}","comments_url":"https://api.github.com/repos/Entware-ng/Entware-ng/issues/261/comments","events_url":"https://api.github.com/repos/Entware-ng/Entware-ng/issues/261/events","html_url":"https://github.com/Entware-ng/Entware-ng/issues/261","id":151365253,"number":261,"title":"Incorrect motion.conf file location","user":{"login":"dgalimov","id":5046333,"avatar_url":"https://avatars.githubusercontent.com/u/5046333?v=3","gravatar_id":"","url":"https://api.github.com/users/dgalimov","html_url":"https://github.com/dgalimov","followers_url":"https://api.github.com/users/dgalimov/followers","following_url":"https://api.github.com/users/dgalimov/following{/other_user}","gists_url":"https://api.github.com/users/dgalimov/gists{/gist_id}","starred_url":"https://api.github.com/users/dgalimov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgalimov/subscriptions","organizations_url":"https://api.github.com/users/dgalimov/orgs","repos_url":"https://api.github.com/users/dgalimov/repos","events_url":"https://api.github.com/users/dgalimov/events{/privacy}","received_events_url":"https://api.github.com/users/dgalimov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-27T11:43:21Z","updated_at":"2016-04-27T11:43:21Z","closed_at":null,"body":"When I'm adding motion package, motion.conf file is placed as /opt/etc/motion.conf.\r\n\r\nHowever, it is not working: if you execute motion -h, it will say:\r\n\r\n_Motion is configured using a config file only. If none is supplied,\r\nit will read motion.conf from current directory, ~/.motion or /opt/etc/motion._\r\n\r\nI moved motion.conf to **/opt/etc/motion/motion.conf** and now it is working as expected.\r\n\r\nPlease update installer so it will create the motion.conf file in the correct directory (or adjust /opt/etc/init.d/S99motion to use -c parameter for current file location)"}}