diff options
Diffstat (limited to 'addrwatch.rules')
-rw-r--r-- | addrwatch.rules | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/addrwatch.rules b/addrwatch.rules new file mode 100644 index 000000000000..211c811abbc3 --- /dev/null +++ b/addrwatch.rules @@ -0,0 +1,3 @@ +ACTION=="remove", GOTO="addrwatch_end" +SUBSYSTEM=="net", KERNEL=="eth*|usb*|en*", TAG+="systemd", ENV{SYSTEMD_ALIAS}+="/sys/subsystem/net/devices/$name", ENV{SYSTEMD_WANTS}+="addrwatch@%k.service" +LABEL="addrwatch_end" |