Accepting request 69787 from home:jeff_mahoney:branches:Base:System
- boot.sysctl: Add support for loading defaults from /boot/sysctl.conf-$(uname -r) before loading /etc/sysctl.conf to allow each kernel flavor to adjust defaults without different kernel configuration options. The HEAD kernel has support for generating these files now. OBS-URL: https://build.opensuse.org/request/show/69787 OBS-URL: https://build.opensuse.org/package/show/Base:System/procps?expand=0&rev=44
This commit is contained in:
parent
7c6703a783
commit
da25360fd3
@ -24,6 +24,14 @@ rc_reset
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
|
||||
# Load per-kernel defaults from /boot. This file is provided
|
||||
# by the kernel package and will be replaced on update.
|
||||
if test -e "/boot/sysctl.conf-$(uname -r)"; then
|
||||
echo -n "Loading sysctl defaults from /boot/sysctl.conf-$(uname -r)"
|
||||
sysctl -e -q -p /boot/sysctl.conf-$(uname -r)
|
||||
rc_status -v -r
|
||||
fi
|
||||
#
|
||||
# run sysctl if the config file exists
|
||||
# otherwise generate it
|
||||
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 5 17:49:30 CEST 2011 - jeffm@suse.de
|
||||
|
||||
- boot.sysctl: Add support for loading defaults from
|
||||
/boot/sysctl.conf-$(uname -r) before loading /etc/sysctl.conf
|
||||
to allow each kernel flavor to adjust defaults without
|
||||
different kernel configuration options.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 22 17:31:22 UTC 2011 - idoenmez@novell.com
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user