Posted: Tue Sep 07, 2021 0:57 Post subject: Custom Scripts Not Being Saved
Hoping someone can explain what I am missing with the custom script feature. I thought I could enter a custom script into Commands box on the Administration-Commands page and click the "Save Custom" button at the bottom to have these commands saved to a file called custom.sh located in the /tmp folder. Since /tmp is volatile the custom.sh file would be automatically created on each boot up using the information stored in the rc_custom variable from NVRAM. When I click the "Save Custom" button the rc_custom variable is updated to contain my script commands but the /tmp/custom.sh file does not appear in the /tmp folder. I am using build 44715 on a Netgear R6400 router but I have tried various builds with the same behavior so I must be missing some fundamental concept. Any assistance would be appreciated.
Joined: 08 May 2018 Posts: 14126 Location: Texas, USA
Posted: Mon Oct 25, 2021 16:39 Post subject:
Exactly the point I was after. If you don't know, then you should've figured that out first. Not trying to be rude; I guess I will have to figure it out and fix your edit.