- Subject: wpa_supplicant with systemd
- From: Allin Cottrell <cottrell@xxxxxxx>
- Date: Tue, 24 Jan 2012 09:17:55 -0500 (EST)
- User-agent: Alpine 2.01 (LNX 1266 2009-07-14)
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:
[Service]
Type=oneshot
RemainAfterExit=yes
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]