# FX30 with ESP32 as network interface

**URL:** <https://forum.legato.io/t/fx30-with-esp32-as-network-interface/6133>\
**Category:** Uncategorized\
**Created:** [March 11, 2022, 8:10pm UTC](https://forum.legato.io/t/fx30-with-esp32-as-network-interface/6133 "2022-03-11T20:10:54Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [March 15, 2022, 3:35am UTC](https://forum.legato.io/t/fx30-with-esp32-as-network-interface/6133/9 "2022-03-15T03:35:52Z")

</div>

you can see here to modify the init script:

> [@Adding scripts to run at startup](https://forum.legato.io/t/adding-scripts-to-run-at-startup/2412/6):
>
> Hi JyiJyi, I appreciate your previous reply to my post, but I attempted to make the changes that you recommended and am still unable to launch the script on boot. I have included a screenshot of several simple shell commands that I entered into “mount\_early” that I could execute normally, but were unable to run in mount\_early. Thank you again for your help.

or you can write a unsandboxed legato application to run a script when power on:

> [@Invoking shell scripts from Legato app](https://forum.legato.io/t/invoking-shell-scripts-from-legato-app/5575/4):
>
> I don’t see problem on WP76 FW R13. You can use my hello6.tar.gz. [hello6.tar.gz](https://forum.legato.io/uploads/short-url/czj2K4NaAp4M02tLAjqZGY8p95w.gz) (314.7 KB) root@swi-mdm9x28-wp:~# chmod 777 /tmp/test.sh root@swi-mdm9x28-wp:~# /tmp/test.sh root@swi-mdm9x28-wp:~# ls /tmp/123.txt /tmp/123.txt root@swi-mdm9x28-wp:~# cat /tmp/123.txt 123 root@swi-mdm9x28-wp:~# rm /tmp/123.txt root@swi-mdm9x28-wp:~# ls /tmp/ hello6.wp76xx.update legato test.sh hosts pkgdwl thermal\_engi\_ipc ld.so.cache psm\_socket …

---

_[View the full topic](https://forum.legato.io/t/fx30-with-esp32-as-network-interface/6133)._
