9 lines
347 B
Plaintext
9 lines
347 B
Plaintext
#
|
|
# network up/addremove management rules file for udev
|
|
# Copyright (c) 2008 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
#
|
|
ACTION=="add", SUBSYSTEM=="net", ENV{INTERFACE}=="*", \
|
|
RUN+="/sbin/ifup $env{INTERFACE} --udev"
|
|
ACTION=="remove", SUBSYSTEM=="net", ENV{INTERFACE}=="*", \
|
|
RUN+="/sbin/ifdown $env{INTERFACE}"
|