Change "Factory defaults"

Hi folks,
is it possible to change the preconfigured values/files in case of doing a factory reset (over web interface or throughout the reset-button)?

We use the AR300M as “ServiceDevice” for our customers. And how customers are, they maybe try to reset the device without need.
But if they do so, all our settings are lost and the device is useless for our purpose.

So i tought about it, to change the “factory defaults” from gl.inet to our own “factory defaults”.

These defaults are differ from customer to customer, but every single device belongs to this one customer. So it makes sense to me, to change the defaults depending on the customer.

Is it possible? how can i do it?

Thank you in advance

greetings from germany
Manuel

@Fr33man
You can implement it in the following script, your own needs, thank you
/usr/bin/factorydefault

1 Like