autossh: add an 'enabled' option within the uci configuration file 5896/head
authorAdrià Llaudet <adria.llaudet@gmail.com>
Wed, 11 Apr 2018 18:22:17 +0000 (20:22 +0200)
committerAdrià Llaudet <adria.llaudet@gmail.com>
Wed, 11 Apr 2018 18:22:17 +0000 (20:22 +0200)
commitaf31a192f80cf948004334507073751294a436a2
treed47ec0e2df17c0009824a16b74e1ffc8bf1c7557
parent7103c62b61b8a7fb0542b04e4666cbae06379ff0
autossh: add an 'enabled' option within the uci configuration file

In a tool like this one, you really want an option to establish if the service
should start or not by default on boot time, especially when its configuration
file has to be customized by the user.

In the configuration file, the new 'enabled' option is setted to '0' by default
since the configuration provided by default will not be the one finally used.

In the init script, the new 'enabled' option is setted to '1' by default in
order to support the previous configuration file behaviour.

Signed-off-by: Adrià Llaudet <adria.llaudet@gmail.com>
net/autossh/Makefile
net/autossh/files/autossh.config
net/autossh/files/autossh.hotplug
net/autossh/files/autossh.init