mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-12 01:26:59 +07:00
sysctl: apply network specific sysctls to each network card as they appear
This commit is contained in:
parent
8d41a963d6
commit
41e4d6e9ac
12
Makefile.am
12
Makefile.am
@ -239,11 +239,11 @@ dist_dbussystemservice_DATA = \
|
|||||||
|
|
||||||
dist_udevrules_DATA = \
|
dist_udevrules_DATA = \
|
||||||
src/70-uaccess.rules \
|
src/70-uaccess.rules \
|
||||||
src/71-seat.rules \
|
src/71-seat.rules
|
||||||
src/99-systemd.rules
|
|
||||||
|
|
||||||
nodist_udevrules_DATA = \
|
nodist_udevrules_DATA = \
|
||||||
src/73-seat-late.rules
|
src/73-seat-late.rules \
|
||||||
|
src/99-systemd.rules
|
||||||
|
|
||||||
dbusinterface_DATA = \
|
dbusinterface_DATA = \
|
||||||
org.freedesktop.systemd1.Manager.xml \
|
org.freedesktop.systemd1.Manager.xml \
|
||||||
@ -434,7 +434,8 @@ EXTRA_DIST = \
|
|||||||
src/libsystemd-daemon.sym \
|
src/libsystemd-daemon.sym \
|
||||||
src/libsystemd-login.sym \
|
src/libsystemd-login.sym \
|
||||||
introspect.awk \
|
introspect.awk \
|
||||||
src/73-seat-late.rules.in
|
src/73-seat-late.rules.in \
|
||||||
|
src/99-systemd.rules.in
|
||||||
|
|
||||||
if ENABLE_BINFMT
|
if ENABLE_BINFMT
|
||||||
EXTRA_DIST += \
|
EXTRA_DIST += \
|
||||||
@ -1487,7 +1488,8 @@ CLEANFILES = \
|
|||||||
${XML_IN_FILES:.xml.in=.html} \
|
${XML_IN_FILES:.xml.in=.html} \
|
||||||
$(pkgconfigdata_DATA) \
|
$(pkgconfigdata_DATA) \
|
||||||
$(nodist_polkitpolicy_DATA) \
|
$(nodist_polkitpolicy_DATA) \
|
||||||
src/73-seat-late.rules
|
src/73-seat-late.rules \
|
||||||
|
src/99-systemd.rules
|
||||||
|
|
||||||
if HAVE_VALAC
|
if HAVE_VALAC
|
||||||
CLEANFILES += \
|
CLEANFILES += \
|
||||||
|
2
TODO
2
TODO
@ -38,8 +38,6 @@ Features:
|
|||||||
|
|
||||||
* logind: use sysfs path in device hash table instead of sysname, as soon as fb driver is fixed
|
* logind: use sysfs path in device hash table instead of sysname, as soon as fb driver is fixed
|
||||||
|
|
||||||
* possibly apply systemd-sysctl per network device subtrees on hotplug
|
|
||||||
|
|
||||||
* implement Register= switch in .socket units to enable registration
|
* implement Register= switch in .socket units to enable registration
|
||||||
in Avahi, RPC and other socket registration services.
|
in Avahi, RPC and other socket registration services.
|
||||||
|
|
||||||
|
1
src/.gitignore
vendored
1
src/.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
|
99-systemd.rules
|
||||||
org.freedesktop.hostname1.policy
|
org.freedesktop.hostname1.policy
|
||||||
org.freedesktop.locale1.policy
|
org.freedesktop.locale1.policy
|
||||||
org.freedesktop.login1.policy
|
org.freedesktop.login1.policy
|
||||||
|
@ -41,4 +41,6 @@ SUBSYSTEM=="printer", TAG+="systemd", ENV{SYSTEMD_WANTS}="printer.target"
|
|||||||
SUBSYSTEM=="usb", KERNEL=="lp*", TAG+="systemd", ENV{SYSTEMD_WANTS}="printer.target"
|
SUBSYSTEM=="usb", KERNEL=="lp*", TAG+="systemd", ENV{SYSTEMD_WANTS}="printer.target"
|
||||||
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:0701??:*", TAG+="systemd", ENV{SYSTEMD_WANTS}="printer.target"
|
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:0701??:*", TAG+="systemd", ENV{SYSTEMD_WANTS}="printer.target"
|
||||||
|
|
||||||
|
SUBSYSTEM=="net", RUN+="@rootlibexecdir@/systemd-sysctl --prefix=/proc/sys/net/ipv4/conf/%k --prefix=/proc/sys/net/ipv4/neigh/%k --prefix=/proc/sys/net/ipv6/conf/%k --prefix=/proc/sys/net/ipv4/conf/%k"
|
||||||
|
|
||||||
LABEL="systemd_end"
|
LABEL="systemd_end"
|
Loading…
Reference in New Issue
Block a user