]> git.pld-linux.org Git - packages/libteam.git/blob - teamd-shutdown-workaround.service
Let's have a very nasty hack to fix system halt
[packages/libteam.git] / teamd-shutdown-workaround.service
1 [Unit]
2 Description=DELETE ALL VLAN INTERFACES (teamd hack)
3 Before=network.service
4 Wants=network-pre.target
5 After=teamd-lvl2.target
6
7 [Service]
8 ExecStart=/bin/sleep 99999d
9 ExecStopPost=/bin/sh -c "for if in $(ip link show type vlan|grep '@'|awk '{print $2}'|cut -d@ -f 1); do /sbin/ip link delete $if; done"
10
11 [Install]
12 WantedBy=network.target
This page took 0.110574 seconds and 3 git commands to generate.