wpa_supplicant with systemd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

I've mostly succeeded in switching my services over to the non-forking setup recommended for use with systemd. There's one exception, and I wonder if anyone has ideas about it, namely the wifi trope of wpa_supplicant followed on success by dhcpcd.

I use a wired network connection when it's available, wifi otherwise, and sometimes need to switch between the two.
This is easily done via something like

systemctl stop <wired>.service
systemctl start <wifi>.service

But at present my <wifi>.service file calls an old-style init.d script:

ExecStart=/etc/init.d/wifi.wfu start
ExecStop=/etc/init.d/wifi.wfu stop

Works OK, but it would be nice to make it more systemd-friendly.

Allin Cottrell
Department of Economics
Wake Forest University, NC

To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Linux DVB]     [Video Technology]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Devices]     [Fedora Women]     [ALSA Devel]     [Linux USB]

Add to Google Powered by Linux