1
1
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:
Kay Sievers 2010-09-21 21:38:21 +02:00
parent 7376cffd56
commit f9ccc72499
2 changed files with 2 additions and 3 deletions

View File

@ -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) && \

View File

@ -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