units: run sysctl stuff only when /proc/sys is actually writable, to quieten container boots a little

This commit is contained in:
Lennart Poettering 2012-04-12 02:41:02 +02:00
parent d051610953
commit f2a46f8da5
1 changed files with 1 additions and 0 deletions

View 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