<?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[Topics tagged with autorun]]></title><description><![CDATA[A list of topics that have been tagged with autorun]]></description><link>http://community.onion.io/tags/autorun</link><generator>RSS for Node</generator><lastBuildDate>Thu, 21 May 2026 01:12:26 GMT</lastBuildDate><atom:link href="http://community.onion.io/tags/autorun.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 19 Mar 2025 17:07:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Running command when USB&#x2F;iPhone is plugged in]]></title><description><![CDATA[@baby-Onioneer I would add an additional line of logging like this:
logger -t MYUSBHOTPLUG "ACTION: $ACTION , DEVICENAME: $DEVICENAME , blah blah"
if [ "$ACTION" = "add" ]; then
logger -t MYUSBHOTPLUG "iPhone detected, PRODUCT=$PRODUCT, bringing up eth1"
sleep 2
ifconfig eth1 up
udhcpc -i eth1
fi
So you can see the sequence of what is going on with the script, not just inside your "if" statement. I'm not sure if it's add or bind that you want to respond to.
]]></description><link>http://community.onion.io/topic/5105/running-command-when-usb-iphone-is-plugged-in</link><guid isPermaLink="true">http://community.onion.io/topic/5105/running-command-when-usb-iphone-is-plugged-in</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Wed, 19 Mar 2025 17:07:19 GMT</pubDate></item><item><title><![CDATA[USB Autorun feature sometimes ignores an insertion]]></title><description><![CDATA[@ckielstra
This is happening to me also!
Can anyone looked into this?
]]></description><link>http://community.onion.io/topic/4192/usb-autorun-feature-sometimes-ignores-an-insertion</link><guid isPermaLink="true">http://community.onion.io/topic/4192/usb-autorun-feature-sometimes-ignores-an-insertion</guid><dc:creator><![CDATA[Lucas Gozalvez]]></dc:creator><pubDate>Thu, 01 Oct 2020 22:12:10 GMT</pubDate></item><item><title><![CDATA[Connect to WiFi and install OPKG package with AutoRun example]]></title><description><![CDATA[Thank you @crispyoz,
I actually finally got it working this morning just the way I wanted.  Here's a simple example based on what I did:
printf "%s" "Connecting to WiFi"
wifisetup add -ssid Network-SSID -encr wpa2 -password XXXXXXXX

printf "%s" "Waiting for Internet"
while ! ping -c 1 -n -w 1 www.google.com &amp;&gt; /dev/null
do
    printf "%c" "."
done
printf "\n%s\n"  "Internet Connected"

opkg update

Seems to be running great.  It waits indefinitely but I don't want it to proceed until Internet connection is there so I didn't figure there was any reason to have a retry count.  I'm using an on board RGB LED to indicate when the script starts, when it connects to wifi and begins installing OPKG packages, and when it is complete.  This will be used for configuring a group of Onion modules prior to installation in our product.  AutoRun is fantastic!
]]></description><link>http://community.onion.io/topic/4186/connect-to-wifi-and-install-opkg-package-with-autorun-example</link><guid isPermaLink="true">http://community.onion.io/topic/4186/connect-to-wifi-and-install-opkg-package-with-autorun-example</guid><dc:creator><![CDATA[IOTrav]]></dc:creator><pubDate>Fri, 26 Jun 2020 16:33:43 GMT</pubDate></item></channel></rss>