From c0629296bbd3b10fa83d5c8199e89b607fdf3b25 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 12 Apr 2020 13:29:50 +0200 Subject: wireless: T2185: migrate from SysVinit to systemd --- src/etc/systemd/system/hostapd@.service.d/override.conf | 10 ++++++++++ src/etc/systemd/system/wpa_supplicant@.service.d/override.conf | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100644 src/etc/systemd/system/hostapd@.service.d/override.conf create mode 100644 src/etc/systemd/system/wpa_supplicant@.service.d/override.conf (limited to 'src/etc/systemd') diff --git a/src/etc/systemd/system/hostapd@.service.d/override.conf b/src/etc/systemd/system/hostapd@.service.d/override.conf new file mode 100644 index 000000000..bb8e81d7a --- /dev/null +++ b/src/etc/systemd/system/hostapd@.service.d/override.conf @@ -0,0 +1,10 @@ +[Unit] +After= +After=vyos-router.service + +[Service] +WorkingDirectory=/run/hostapd +EnvironmentFile= +ExecStart= +ExecStart=/usr/sbin/hostapd -B -P /run/hostapd/%i.pid /run/hostapd/%i.conf +PIDFile=/run/hostapd/%i.pid diff --git a/src/etc/systemd/system/wpa_supplicant@.service.d/override.conf b/src/etc/systemd/system/wpa_supplicant@.service.d/override.conf new file mode 100644 index 000000000..20b25b726 --- /dev/null +++ b/src/etc/systemd/system/wpa_supplicant@.service.d/override.conf @@ -0,0 +1,10 @@ +[Unit] +After= +After=vyos-router.service + +[Service] +WorkingDirectory= +WorkingDirectory=/run/wpa_supplicant +EnvironmentFile= +ExecStart= +ExecStart=/sbin/wpa_supplicant -c%I.conf -Dnl80211,wext -i%I -- cgit v1.2.3