summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2010-09-21 21:38:21 +0200
committerKay Sievers <kay.sievers@vrfy.org>2010-09-21 21:38:21 +0200
commitf9ccc724990035fd9b2905857a695ade041ab133 (patch)
tree640aec39fe78896a6f1f9aa37a9d3658df2faa4d
parent7376cffd56ccfbf7e81db16736bba69aa3036cc0 (diff)
units: enable sysctl by default
-rw-r--r--Makefile.am2
-rw-r--r--units/sysctl.service3
2 files changed, 2 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index e73741f853..d233da6ca5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -990,6 +990,7 @@ install-data-hook:
systemd-modules-load.service \
systemd-random-seed-load.service \
hwclock-load.service \
+ sysctl.service \
tmpwatch.timer \
tmpwatch.service && \
$(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \
@@ -1001,6 +1002,7 @@ install-data-hook:
$(LN_S) ../systemd-modules-load.service && \
$(LN_S) ../systemd-random-seed-load.service && \
$(LN_S) ../hwclock-load.service && \
+ $(LN_S) ../sysctl.service && \
$(LN_S) ../tmpwatch.timer && \
$(LN_S) ../tmpwatch.service )
( cd $(DESTDIR)$(dbussessionservicedir) && \
diff --git a/units/sysctl.service b/units/sysctl.service
index 3186cc0f63..2464a07918 100644
--- a/units/sysctl.service
+++ b/units/sysctl.service
@@ -15,6 +15,3 @@ Before=shutdown.target
Type=oneshot
RemainAfterExit=yes
ExecStart=/sbin/sysctl -e -q -p /etc/sysctl.conf
-
-[Install]
-WantedBy=sysinit.target