Hello dear AGL experts,
Could you please clarify what is the correct official way to issue reboot command from service code?
I have tried reboot(RB_AUTOBOOT), which doesn't work because services are run under agl-driver account, which is not root. I also tried system("systemctl reboot"), still no luck. Maybe I missed to request some permissions in config.xml, right now permissions section looks like:
<feature name="urn:AGL:widget:required-permission">
<param name="urn:AGL:permission::public:hidden" value="required" />
<param name="urn:AGL:permission::public:no-htdocs" value="required" />
<param name="urn:AGL:permission::system:run-by-default" value="required" />
</feature>
I consider sending reboot command to Dbus directly, but suppose that AGL should have some internal means for rebooting. Could you please point me on some documentation or give any other clue on this topic?
BRs, Denis. This e-mail and any attachment(s) are intended only for the recipient(s) named above and others who have been specifically authorized to receive them. They may contain confidential information. If you are not the intended recipient, please do not read this email or its attachment(s). Furthermore, you are hereby notified that any dissemination, distribution or copying of this e-mail and any attachment(s) is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender by replying to this e-mail and then delete this e-mail and any attachment(s) or copies thereof from your system. Thank you. _._,_._,_ Links: You receive all messages sent to this group. View/Reply Online (#8974) | Reply To Group | Reply To Sender | Mute This Topic | New Topic _._,_._,_
|