Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 402152 Details for
Bug 484796
sys-apps/baselayout: consider replacing /etc/sysctl.conf with /etc/sysctl.d/99-*.conf
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix for busybox sysctl
0001-sysctl.Linux.in-fix-for-busybox-sysctl.patch (text/plain), 971 bytes, created by
Natanael Copa
on 2015-04-28 11:07:07 UTC
(
hide
)
Description:
fix for busybox sysctl
Filename:
MIME Type:
Creator:
Natanael Copa
Created:
2015-04-28 11:07:07 UTC
Size:
971 bytes
patch
obsolete
>From 01dba03704574dda2c43ec3a0609144a8c03c641 Mon Sep 17 00:00:00 2001 >From: Natanael Copa <ncopa@alpinelinux.org> >Date: Tue, 28 Apr 2015 12:26:46 +0200 >Subject: [PATCH] sysctl.Linux.in: fix for busybox sysctl > >busybox sysctl does not support --system >--- > init.d/sysctl.Linux.in | 13 ++++++++++++- > 1 file changed, 12 insertions(+), 1 deletion(-) > >diff --git a/init.d/sysctl.Linux.in b/init.d/sysctl.Linux.in >index 1defcec..2371b29 100644 >--- a/init.d/sysctl.Linux.in >+++ b/init.d/sysctl.Linux.in >@@ -14,6 +14,17 @@ start() > yesno $rc_verbose || quiet=-q > > ebegin "Configuring kernel parameters" >- sysctl ${quiet} --system >+ set -- >+ for i in /run/sysctl.d/*.conf \ >+ /etc/sysctl.d/*.conf \ >+ /usr/local/lib/sysctl.d/*.conf \ >+ /usr/lib/sysctl.d/*.conf \ >+ /lib/sysctl.d/*.conf \ >+ /etc/sysctl.conf; do >+ if [ -e "$i"Â ]; then >+ set -- "$@" "$i" >+ fi >+ done >+ sysctl ${quiet} -p "$@" > eend $? "Unable to configure some kernel parameters" > } >-- >2.3.6 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 484796
:
382426
| 402152