diff options
| author | Paul Onyschuk <blink@bojary.koba.pl> | 2011-08-03 21:55:30 +0200 |
|---|---|---|
| committer | Paul Onyschuk <blink@bojary.koba.pl> | 2011-08-03 21:55:30 +0200 |
| commit | 0fcc07ab8d7c2944559714ca5d450b6cf4bbd68d (patch) | |
| tree | 5aa57cb986145c9c7cfd78f2ce474b44cdfceada /main/openrc/sysctl-flags.patch | |
| parent | 006ce14a9a66c564def5d6a4dc6b6f8d7c70bc39 (diff) | |
| download | aports-0fcc07ab8d7c2944559714ca5d450b6cf4bbd68d.tar.bz2 aports-0fcc07ab8d7c2944559714ca5d450b6cf4bbd68d.tar.xz | |
main/openrc: fix command line option flags used in sysctl init.d
Diffstat (limited to 'main/openrc/sysctl-flags.patch')
| -rw-r--r-- | main/openrc/sysctl-flags.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/main/openrc/sysctl-flags.patch b/main/openrc/sysctl-flags.patch new file mode 100644 index 0000000000..664d6502ca --- /dev/null +++ b/main/openrc/sysctl-flags.patch @@ -0,0 +1,14 @@ +--- openrc-0.8.3/init.d/sysctl.Linux.in.orig ++++ openrc-0.8.3/init.d/sysctl.Linux.in +@@ -18,9 +18,9 @@ + for conf in /etc/sysctl.d/*.conf /etc/sysctl.conf; do + if [ -r "$conf" ]; then + vebegin "applying $conf" +- if ! err=$(sysctl -q -p "$conf" 2>&1) ; then ++ if ! err=$(sysctl -p "$conf" 2>&1) ; then + errs="${errs} ${err}" +- sysctl -q -e -p "${conf}" ++ sysctl -e -p "${conf}" + fi + veend $? || retval=1 + fi |
