Community discussions

MikroTik App
 
PMTech
just joined
Topic Author
Posts: 13
Joined: Mon Feb 15, 2016 5:13 pm

Referencing a file stored on a flash disk

Sun May 15, 2016 12:40 pm

Hi,

I'm trying to reset my HAP AC Lite and then run a configuration script. This works on my 1100AH, 2011 etc. and I place the config file in the root. On the HAP AC Lite I have to put it in the flash directory so it survives the reboot. If I reset the device via Winbox then everything works and I get my new config. If I try it via the command line then I get an error saying
"input does not match any value of run-after-reset"
Is there something that Winbox is doing in the background to reference that file ?

Hopefully the screenshot gives you all you need to see what I'm doing.

TIA :D
ResetHAPError.JPG
You do not have the required permissions to view the files attached to this post.
 
fork
just joined
Posts: 3
Joined: Fri Nov 06, 2020 5:41 pm

Re: Referencing a file stored on a flash disk

Fri Nov 06, 2020 6:04 pm

4 and 1/2 year later: Same problem. Same question.

Solution:

File must have .rsc suffix!
 
phdoerfler
just joined
Posts: 18
Joined: Sat Sep 04, 2021 3:40 pm

Re: Referencing a file stored on a flash disk

Mon Sep 13, 2021 11:31 am

Thanks for posting your solution here, I was scratching my head at why it didn't find my script and your post gave me the needed hint: You have to remove the ".rsc" extension in the command but have to have it on the file system:
/system reset-configuration run-after-reset=provision
That works for me. Hope this helps the next person who runs into this!
You do not have the required permissions to view the files attached to this post.

Who is online

Users browsing this forum: No registered users and 30 guests