mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-23 17:34:00 +03:00
units: enable sysctl by default
This commit is contained in:
parent
7376cffd56
commit
f9ccc72499
@ -990,6 +990,7 @@ install-data-hook:
|
|||||||
systemd-modules-load.service \
|
systemd-modules-load.service \
|
||||||
systemd-random-seed-load.service \
|
systemd-random-seed-load.service \
|
||||||
hwclock-load.service \
|
hwclock-load.service \
|
||||||
|
sysctl.service \
|
||||||
tmpwatch.timer \
|
tmpwatch.timer \
|
||||||
tmpwatch.service && \
|
tmpwatch.service && \
|
||||||
$(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \
|
$(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \
|
||||||
@ -1001,6 +1002,7 @@ install-data-hook:
|
|||||||
$(LN_S) ../systemd-modules-load.service && \
|
$(LN_S) ../systemd-modules-load.service && \
|
||||||
$(LN_S) ../systemd-random-seed-load.service && \
|
$(LN_S) ../systemd-random-seed-load.service && \
|
||||||
$(LN_S) ../hwclock-load.service && \
|
$(LN_S) ../hwclock-load.service && \
|
||||||
|
$(LN_S) ../sysctl.service && \
|
||||||
$(LN_S) ../tmpwatch.timer && \
|
$(LN_S) ../tmpwatch.timer && \
|
||||||
$(LN_S) ../tmpwatch.service )
|
$(LN_S) ../tmpwatch.service )
|
||||||
( cd $(DESTDIR)$(dbussessionservicedir) && \
|
( cd $(DESTDIR)$(dbussessionservicedir) && \
|
||||||
|
@ -15,6 +15,3 @@ Before=shutdown.target
|
|||||||
Type=oneshot
|
Type=oneshot
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
ExecStart=/sbin/sysctl -e -q -p /etc/sysctl.conf
|
ExecStart=/sbin/sysctl -e -q -p /etc/sysctl.conf
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=sysinit.target
|
|
||||||
|
Loading…
Reference in New Issue
Block a user