package/radvd: improve startup script
authorCarlos Santos <unixmania@gmail.com>
Thu, 2 May 2019 02:01:52 +0000 (23:01 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 5 May 2019 19:14:48 +0000 (21:14 +0200)
commit711ae58a536a106791c437ed15cb618d6af4eb23
treefb0280f575b3da674fc4cae4819195ddb1c64907
parentd7d82a318b1d3f34257dd5fc5f3d84a83d4c3c38
package/radvd: improve startup script

- Add start, stop and restart/reload options, following the logic used
  in other init scripts (e.g. S01syslogd).

- Do nothing if /etc/radvd.conf does not exist instead of printing an
  error message. It is valid to install radvd without a configuration
  file. The daemon may be started later by another service with a
  configuration created at run-time.

- Print an error message if the kernel does not support IPv6 forwarding,
  which is required by radvd.

Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/radvd/S50radvd