meta-ibm:ncsi-linkspeed: ensure eth device present

IBM is building a system under the "p10bmc" bitbake machine that only
has a single ethernet port, eth0, wired up on it. The system is still
utilizing an AST2600, but only wired eth0 out of the system for cost
purposes.

Since the "p10bmc" machine is a shared target there is no way to remove
services that assume eth1 is present during the build process. Instead,
rely on the fact that the device will be present in /sys/class/net/
if in fact the system supports the network device.

Tested:
- Verified that a p10bmc Rainier machine with 2 eth ports still ran this
  script for both ports
- Verified that a p10bmc Bonnell machine with only eth0 ran this script
  for eth0 but not eth1

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Ic5dfe4bc772fb4de5eb28f3035cf9952d4bbcb7a
diff --git a/meta-ibm/recipes-phosphor/network/network/ncsi-linkspeed@.service b/meta-ibm/recipes-phosphor/network/network/ncsi-linkspeed@.service
index 26737b9..dbc7841 100644
--- a/meta-ibm/recipes-phosphor/network/network/ncsi-linkspeed@.service
+++ b/meta-ibm/recipes-phosphor/network/network/ncsi-linkspeed@.service
@@ -1,6 +1,7 @@
 [Unit]
 Description=Set %i gigabit link speed
 After=network.target
+ConditionPathExists=/sys/class/net/%i
 
 [Service]
 TimeoutSec=90s