# FX30 Disable factory reset by default

**URL:** <https://forum.sierrawireless.com/t/fx30-disable-factory-reset-by-default/31941>\
**Category:** FX30\
**Created:** [March 27, 2024, 3:00pm UTC](https://forum.sierrawireless.com/t/fx30-disable-factory-reset-by-default/31941 "2024-03-27T15:00:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sami.brugier](https://avatars.discourse-cdn.com/v4/letter/s/a9a28c/32.png) [@sami.brugier](https://forum.sierrawireless.com/u/sami.brugier)\
**Post date:** [March 27, 2024, 3:00pm UTC](https://forum.sierrawireless.com/t/fx30-disable-factory-reset-by-default/31941/1 "2024-03-27T15:00:47Z")

</div>

Hi,

I know you can disable the factory reset button by sending “AT!FWD=FACTORYRECOVERY,DISABLE” to “/dev/ttyAT”, but is there a way to do so by default, without having to send an AT command ?

I couldn’t find a way for “/mnt/userrw/sierra/.efdr” to have a default value of “0” instead of “1”.

Thank you in advance for the reply.

Best regards,  
Sami

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [March 27, 2024, 3:08pm UTC](https://forum.sierrawireless.com/t/fx30-disable-factory-reset-by-default/31941/2 "2024-03-27T15:08:21Z")

</div>

you can write a legato application to send the AT command after power on

> **[How to run shell script after boot](https://mangoh.discourse.group/t/how-to-run-shell-script-after-boot/9278/14)**
>
> you can see this document on how to send AT command in unsandboxed legato application: Sending AT command in Legato application.docx (215.2 KB)

---

<div class="post-metadata">

**Author:** ![sami.brugier](https://avatars.discourse-cdn.com/v4/letter/s/a9a28c/32.png) [@sami.brugier](https://forum.sierrawireless.com/u/sami.brugier)\
**Post date:** [March 27, 2024, 3:21pm UTC](https://forum.sierrawireless.com/t/fx30-disable-factory-reset-by-default/31941/3 "2024-03-27T15:21:35Z")

</div>

This is one of the solutions I was considering, but I just wanted to know if it was possible to disable it by default with parameters in a Yocto recipe for example.

Thank you for the quick reply !

Best regards,  
Sami

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [March 27, 2024, 3:49pm UTC](https://forum.sierrawireless.com/t/fx30-disable-factory-reset-by-default/31941/4 "2024-03-27T15:49:25Z")

</div>

i don’t quite see another way
