summaryrefslogtreecommitdiffstats
path: root/systemd/net-auto-wired.service
blob: 321a62e6a907f2ca6991229847ed7ee804f044d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Provides automatic netcfg wired connection
Before=network.target

[Service]
EnvironmentFile=/etc/rc.conf
EnvironmentFile=/etc/conf.d/netcfg
EnvironmentFile=-/etc/ifplugd/ifplugd.conf
ExecStart=-/usr/sbin/ifplugd -i $WIRED_INTERFACE -r /etc/ifplugd/netcfg.action -fIn -u0 -d10
ExecStop=-/usr/sbin/ifplugd -k -i $WIRED_INTERFACE -r /etc/ifplugd/netcfg.action
Type=simple

[Install]
WantedBy=multi-user.target