{"action":"created","issue":{"url":"https://api.github.com/repos/KanoComputing/kano-settings/issues/287","labels_url":"https://api.github.com/repos/KanoComputing/kano-settings/issues/287/labels{/name}","comments_url":"https://api.github.com/repos/KanoComputing/kano-settings/issues/287/comments","events_url":"https://api.github.com/repos/KanoComputing/kano-settings/issues/287/events","html_url":"https://github.com/KanoComputing/kano-settings/pull/287","id":92060017,"number":287,"title":"Make kano-settings-onboot run before lightdm.","user":{"login":"Ealdwulf","id":37270,"avatar_url":"https://avatars.githubusercontent.com/u/37270?v=3","gravatar_id":"","url":"https://api.github.com/users/Ealdwulf","html_url":"https://github.com/Ealdwulf","followers_url":"https://api.github.com/users/Ealdwulf/followers","following_url":"https://api.github.com/users/Ealdwulf/following{/other_user}","gists_url":"https://api.github.com/users/Ealdwulf/gists{/gist_id}","starred_url":"https://api.github.com/users/Ealdwulf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ealdwulf/subscriptions","organizations_url":"https://api.github.com/users/Ealdwulf/orgs","repos_url":"https://api.github.com/users/Ealdwulf/repos","events_url":"https://api.github.com/users/Ealdwulf/events{/privacy}","received_events_url":"https://api.github.com/users/Ealdwulf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-30T10:54:12Z","updated_at":"2015-06-30T14:08:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/KanoComputing/kano-settings/pulls/287","html_url":"https://github.com/KanoComputing/kano-settings/pull/287","diff_url":"https://github.com/KanoComputing/kano-settings/pull/287.diff","patch_url":"https://github.com/KanoComputing/kano-settings/pull/287.patch"},"body":"@alex5imon This PR foces kano-settings-onboot to run before lightdm \r\nIt also adds some standard init boiler-plate which adds a message showing it running  in the same way as all the other scripts in init.d, and prevents it being called with 'stop'). \r\n\r\nHowever, it turns out that kano-settings-onboot takes about 15 seconds to run. Therefore maybe we don't want to run it before lightdm because doing so may prevent the desktop for 15 more seconds appearing in the case where we are not going to reboot. Thoughts @pazdera @skarbat @tombettany ?\r\n"},"comment":{"url":"https://api.github.com/repos/KanoComputing/kano-settings/issues/comments/117199740","html_url":"https://github.com/KanoComputing/kano-settings/pull/287#issuecomment-117199740","issue_url":"https://api.github.com/repos/KanoComputing/kano-settings/issues/287","id":117199740,"user":{"login":"Ealdwulf","id":37270,"avatar_url":"https://avatars.githubusercontent.com/u/37270?v=3","gravatar_id":"","url":"https://api.github.com/users/Ealdwulf","html_url":"https://github.com/Ealdwulf","followers_url":"https://api.github.com/users/Ealdwulf/followers","following_url":"https://api.github.com/users/Ealdwulf/following{/other_user}","gists_url":"https://api.github.com/users/Ealdwulf/gists{/gist_id}","starred_url":"https://api.github.com/users/Ealdwulf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ealdwulf/subscriptions","organizations_url":"https://api.github.com/users/Ealdwulf/orgs","repos_url":"https://api.github.com/users/Ealdwulf/repos","events_url":"https://api.github.com/users/Ealdwulf/events{/privacy}","received_events_url":"https://api.github.com/users/Ealdwulf/received_events","type":"User","site_admin":false},"created_at":"2015-06-30T14:08:16Z","updated_at":"2015-06-30T14:08:16Z","body":"It turns out that most of the time is spent waiting for a key press for safe boot mode, so a possibility could be to split the file so that that part can be run after lightdm but the rest is run before. There is no confusion in rebooting for safe mode after the desktop has appeared, because the users can't see it anyway. However I'm not sure we should do that before a release. @alex5imon "}}