Browse Source

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
commit
4d5cca6b50
  1. 3
      install.sh

3
install.sh

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

Loading…
Cancel
Save