SSH in – I use Putty on Win10 (select 192.168.8.1 port 22 – hit enter)
Log in using WebGUI credentials
cd /usr/bin (change directory to where you will create your script, in my case to disable front LED)
vi led_off (edit a new file named led_off)
click a (append at current location)
paste following
#stopglinet control
/etc/init.d/led stop
/etc/init.d/led disable
hit Esc, then :wq Enter (write file and exit vi editor)
chmod +x led_off (make it executable)
cd /etc
vi rc.local (edit rc.local to add a call to your new script at boot)
use arrows to move to the end of the last line of the file
hit a (append at current location)
Hit Enter 2x (move down and leave a blank line
paste /usr/bin/led_off &
hit Esc, then :wq Enter (write file and exit vi editor)