<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Set pin mode at boot]]></title><description><![CDATA[<p dir="auto">Hi all, I wasn't able to save the changes on pin mode after reboot. I will explain myself better: what I'm trying to set is the i2c pin as GPIO but every time I reboot the Omega2s I've to change it again. How can I change this behavior? thanks</p>
]]></description><link>http://community.onion.io/topic/4811/set-pin-mode-at-boot</link><generator>RSS for Node</generator><lastBuildDate>Fri, 06 Nov 2026 05:13:09 GMT</lastBuildDate><atom:link href="http://community.onion.io/topic/4811.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 22 Apr 2022 09:53:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Set pin mode at boot on Fri, 22 Apr 2022 09:53:43 GMT]]></title><description><![CDATA[<p dir="auto">Hi all, I wasn't able to save the changes on pin mode after reboot. I will explain myself better: what I'm trying to set is the i2c pin as GPIO but every time I reboot the Omega2s I've to change it again. How can I change this behavior? thanks</p>
]]></description><link>http://community.onion.io/post/24582</link><guid isPermaLink="true">http://community.onion.io/post/24582</guid><dc:creator><![CDATA[ChMsT420]]></dc:creator><pubDate>Fri, 22 Apr 2022 09:53:43 GMT</pubDate></item><item><title><![CDATA[Reply to Set pin mode at boot on Fri, 22 Apr 2022 13:32:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/8735">@ChMsT420</a> See this documentation article: <a href="http://docs.onion.io/omega2-docs/running-a-command-on-boot.html" rel="nofollow">http://docs.onion.io/omega2-docs/running-a-command-on-boot.html</a></p>
]]></description><link>http://community.onion.io/post/24584</link><guid isPermaLink="true">http://community.onion.io/post/24584</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Fri, 22 Apr 2022 13:32:33 GMT</pubDate></item><item><title><![CDATA[Reply to Set pin mode at boot on Sat, 23 Apr 2022 07:42:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/8735">@ChMsT420</a> <a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/95">@Lazar-Demin</a> The only issue with using rc.local is that it runs last so if you have a daemon or loadable module that is dependent on the pin mode, rc.local might be too late.</p>
<p dir="auto">Another alternative is to use a hotplug script that is triggered earlier in the boot process. Take a look in /etc/hotplug.d for some examples of these scripts, also hotplug is quite well documented.</p>
]]></description><link>http://community.onion.io/post/24586</link><guid isPermaLink="true">http://community.onion.io/post/24586</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Sat, 23 Apr 2022 07:42:35 GMT</pubDate></item></channel></rss>