install.sh: fix openrc service depend in heredoc

This change sets up the correct dependency on the `network-online`
service provided by openrc.

See:
- https://github.com/OpenRC/openrc/blob/0.39.2/service-script-guide.md#be-wary-of-need-net-dependencies
- https://github.com/OpenRC/openrc/blob/0.39.2/init.d/net-online.in#L18
This commit is contained in:
Jacob Blain Christen 2019-09-17 10:08:07 -07:00
parent 36ca606073
commit 4d5cca6b50

View File

@ -555,8 +555,7 @@ create_openrc_service_file() {
#!/sbin/openrc-run
depend() {
after net-online
need net
after network-online
}
start_pre() {