|
|
- [Unit]
- Description=Network interface with dynamic IPv4 (%i)
- After=network.target
-
- [Service]
- Type=oneshot
- RemainAfterExit=yes
-
- EnvironmentFile=/etc/snic/snic-%i.conf
-
- ExecStart=/usr/bin/ip link set %i up
- ExecStart=/usr/bin/ip addr flush dev %i
-
- ExecStop=/usr/bin/ip addr flush dev %i
- ExecStop=/usr/bin/ip link set %i down
-
- [Install]
- WantedBy=multi-user.target
|