В Wed, 12 Dec 2012 15:57:45 -0800 John Tobias <john.tobias...@gmail.com> пишет:
> ExecStart=/usr/sbin/wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf > > One of the problem was the systemd called the said script before the > kernel loads the firmware(/lib/firmware/TIInit_7.2.31.bts). I would > like to know if there's a way to determine if the firmware is already > loaded before the systemd execute the said service?. > Normally interface should appear only after firmware is loaded. So making your script depend on wlan0.device should do it. It may be a bit tricky to find correct dependency though. E.g. I have Id=sys-devices-pci0000:00-0000:00:1c.1-0000:0c:00.0-net-wlan0.device Names=sys-devices-pci0000:00-0000:00:1c.1-0000:0c:00.0-net-wlan0.device sys-subsystem-net-devices-wlan0.device _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel