I need to configure ping_reboot using CLI via SSH.
I assume this can be achieved by editing /etc/config/ping_reboot and executing /etc/init.d/ping_reboot restart. Is this correct?
Also, please can anyone help me understand the options in red below?
option action '1' # does '1' mean device restart? what are other options?
option host 184.108.40.206
option fail_counter '0' # what is fail_counter? is it secs or mins?
option packet_size '56'
option interface '1' # Is '1' the WAN interface?
option stop_action '0' # what is stop_action? what is option '0'? what other options are possible?
option type 'ping'
option retry '3'
option time_out '10' # is this the timeout between ping retries? is it secs or mins?
option time '120' # what is time? is it secs or mins?
option current_try '0' # what is current_try? what are the options?
option enable '0'
Many thanks in advance for help.