JFC-Group / JF-Customisation

Firmwares, Tips and Tricks regarding JF
139 stars 36 forks source link

How to add startup script to enable FTP and others after restart/reboot #22

Closed gpsarathy closed 1 year ago

gpsarathy commented 1 year ago

Thanks for your time for putting this together and sharing to others.

Is there any way to add start up script you're aware of. I tried /etc/init.d script to run commands by adding script and invoking another script but it doesn't seem to work. The router has crontab but missing config file creating anything is running only under /tmp root path. I wonder is this kind of virtual env for telnet? nothing is persistent...., Can we do this script in enc file execute code (I'm referring os execute code in config)?