summaryrefslogtreecommitdiffstats
path: root/wpa_actiond
diff options
context:
space:
mode:
Diffstat (limited to 'wpa_actiond')
-rw-r--r--wpa_actiond/net-auto-wireless.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/wpa_actiond/net-auto-wireless.service b/wpa_actiond/net-auto-wireless.service
new file mode 100644
index 0000000..68b0b93
--- /dev/null
+++ b/wpa_actiond/net-auto-wireless.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Provides automatic netcfg wireless connection
+After=dbus.service
+
+[Service]
+EnvironmentFile=/etc/rc.conf
+ExecStart=/usr/bin/netcfg-wpa_actiond $WIRELESS_INTERFACE
+ExecStop=/usr/bin/netcfg-wpa_actiond stop $WIRELESS_INTERFACE
+RemainAfterExit=yes
+Type=forking
+
+[Install]
+WantedBy=network.target