chiark / gitweb /
units: run sysctl stuff only when /proc/sys is actually writable, to quieten containe...
authorLennart Poettering <lennart@poettering.net>
Thu, 12 Apr 2012 00:41:02 +0000 (02:41 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 12 Apr 2012 10:58:19 +0000 (12:58 +0200)
units/systemd-sysctl.service.in

index 692fa3b..d38f026 100644 (file)
@@ -11,6 +11,7 @@ DefaultDependencies=no
 Conflicts=shutdown.target
 After=systemd-readahead-collect.service systemd-readahead-replay.service
 Before=sysinit.target shutdown.target
+ConditionPathIsReadWrite=/proc/sys/
 ConditionPathExists=|/etc/sysctl.conf
 ConditionDirectoryNotEmpty=|/lib/sysctl.d
 ConditionDirectoryNotEmpty=|/usr/lib/sysctl.d