python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / systemd / network.service
blob0d77bb824a916147130cc64cd55e7dbc65ca872c
1 [Unit]
2 Description=Network Connectivity
3 Wants=network.target
4 Before=network.target
6 [Service]
7 Type=oneshot
8 RemainAfterExit=yes
10 # lo is brought up earlier, which will cause the upcoming "ifup -a" to fail
11 # with exit code 1, due to an "ip: RTNETLINK answers: File exists" error during
12 # its "ip addr add ..." command, subsequently causing this unit to fail even
13 # though it is a benign error. Flushing the lo address with the command below
14 # before ifup prevents this failure.
15 ExecStart=/sbin/ip addr flush dev lo
17 ExecStart=/sbin/ifup -a
18 ExecStop=/sbin/ifdown -a
20 [Install]
21 WantedBy=multi-user.target