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
pull/815/head
Jacob Blain Christen 5 years ago
parent 36ca606073
commit 4d5cca6b50

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

Loading…
Cancel
Save