Is there a way to erase the default configuration script?
/system default-configuration print
Is there a way to erase the default configuration script?
/system default-configuration print
Usually there is a pop up windows the first time the routerboard starts.
There is a button to “remove default configuration”.
I that doesn’t pop up, try /system restore and then reboot the router.
You should see this time the pop up window.
If I’m reading the script correctly that just runs it with the action set to “revert”.
At a guess that script is baked in as part of the OS image and can’t be changed other than as part of it.
Nope. You can provision your own default script if you use NetInstall. This then becomes the script that survives a reset.
So to get netinstall to setup an image with a custom configure script see this page: http://wiki.mikrotik.com/wiki/Netinstall Looks like you check the “Configure script” box and specify the script file in the text filed to the right of that. Can someone who has done this confirm?
If you need to do a reset without running the default configuration script, you can try:
/system reset-configuration no-defaults=yes
Hello Jorge,
Thats it, thanks!
It works just like i needed…
Best Regards
Nuno ![]()