tglesel
Occasional Visitor
I need to run a simple command during startup of my RT-AX92U = "rm -rf /tmp/mnt/mydisk/.smartsync" to ensure smartsync of my usb device is working after reboot
I am absolutely not a Linux and shell script expert, but I am familiar with some basic Linux commands, and I have setup telnet access to my router. I have been searching some threads on this forum, and I can see that I need to use "nvram" command, but the threads get a bit too complex for me as they are referring to shellscripts and cronjobs. Would it be possible just to give a "nvram" command followup by the "rm" command above and if yes what would the correct syntax be, to be sure the directory is deleted each time my router startup?
I am absolutely not a Linux and shell script expert, but I am familiar with some basic Linux commands, and I have setup telnet access to my router. I have been searching some threads on this forum, and I can see that I need to use "nvram" command, but the threads get a bit too complex for me as they are referring to shellscripts and cronjobs. Would it be possible just to give a "nvram" command followup by the "rm" command above and if yes what would the correct syntax be, to be sure the directory is deleted each time my router startup?