You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
336 B
16 lines
336 B
[Unit]
|
|
Description= IPv6 Network Config Service
|
|
After=network.target
|
|
|
|
[Service]
|
|
EnvironmentFile=-/etc/network/%I
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
ExecStart=/bin/ip addr add $IP6 dev %I
|
|
ExecStart=/bin/ip link set dev %I up
|
|
ExecStop=/bin/ip addr del $IP6 dev %I
|
|
ExecStop=/bin/ip link set dev %I down
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|