aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-connectivity/wpa-supplicant/files/wpa_supplicant.service
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-connectivity/wpa-supplicant/files/wpa_supplicant.service')
-rw-r--r--recipes-connectivity/wpa-supplicant/files/wpa_supplicant.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-connectivity/wpa-supplicant/files/wpa_supplicant.service b/recipes-connectivity/wpa-supplicant/files/wpa_supplicant.service
new file mode 100644
index 0000000..67374d1
--- /dev/null
+++ b/recipes-connectivity/wpa-supplicant/files/wpa_supplicant.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=WPA Supplicant daemon
+After=syslog.target network.target
+
+[Service]
+Type=forking
+EnvironmentFile=-/etc/sysconfig/wpa_supplicant
+ExecStart=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf $INTERFACES $DRIVERS -B -u $OTHER_ARGS
+
+[Install]
+WantedBy=multi-user.target
+