Hi
I have a WISP. I pre conf some Haplite’s and by some rules limit my client to change the default conf. I limited their user admin and made a special skin for them to limited access to some features in Haplite. I put a .rsc file in haplite and write a script for them which if they run that, the script will do reset configuration and run this .rsc after reset, so the haplite will back to my correct config. till now there is no problem but My Problem is:
If my users do Hardware reset, haplite will boot with def conf and users can access to my rsc file and they can have full access to haplite. I disabled jumper reset in haplite but that don’t work !!! . then I wrote a Netinstall configure Script as Bellow
/file remove [find]
because I persist that after hardware reset 3 file be removed 1-my rsc file 2- user backup file 3- my skin file .json
so my client did not access to my config.
but that don’t work too!! That remove .rsc but backup and .json remain !!!
I wrote more than 20 different scripts like bellow but the problem exist. that seems that there is problem with removing backup and json file on boot
sample 2:
while ([:len [file find ]]>0) do={/file remove [find]}
sample 3:
/file remove [find type=“backup”]
/file remove [find type=“script”]
/file remove [find]
and too many other scripts which dont work correctly
I get bored with this simple problem … any idea ?