From c6c546468140fdb4d32795158e2c6788769a3aa7 Mon Sep 17 00:00:00 2001 From: exodious Date: Sun, 21 Jun 2020 05:16:55 -0400 Subject: [PATCH] Fixes boostchicken/udm-utilities#8 (#9) --- on-boot-script/README.md | 2 +- on-boot-script/examples/unifi-os-files/udmboot.service | 2 +- on-boot-script/install-unifios.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/on-boot-script/README.md b/on-boot-script/README.md index d0a000a8..35398b06 100644 --- a/on-boot-script/README.md +++ b/on-boot-script/README.md @@ -50,9 +50,9 @@ Example: examples/unifi-os-files/udmboot.service ``` echo "[Unit] Description=Run On Startup UDM +After=network.target [Service] -After=network.target ExecStart=/etc/init.d/udm.sh [Install] diff --git a/on-boot-script/examples/unifi-os-files/udmboot.service b/on-boot-script/examples/unifi-os-files/udmboot.service index ca9abb35..b7f9a5b3 100644 --- a/on-boot-script/examples/unifi-os-files/udmboot.service +++ b/on-boot-script/examples/unifi-os-files/udmboot.service @@ -1,8 +1,8 @@ [Unit] Description=Run On Startup UDM +After=network.target [Service] -After=network.target ExecStart=/etc/init.d/udm.sh [Install] diff --git a/on-boot-script/install-unifios.sh b/on-boot-script/install-unifios.sh index 00214866..b6ef7f25 100644 --- a/on-boot-script/install-unifios.sh +++ b/on-boot-script/install-unifios.sh @@ -5,9 +5,9 @@ chmod u+x /etc/init.d/udm.sh echo "[Unit] Description=Run On Startup UDM +After=network.target [Service] -After=network.target ExecStart=/etc/init.d/udm.sh [Install]