This commit is contained in:
parent
dd6e5e377f
commit
e46cb399ee
14
boot.sysctl
14
boot.sysctl
@ -15,6 +15,8 @@
|
||||
# Description: run sysctl with a given config file or create it
|
||||
### END INIT INFO
|
||||
|
||||
test -x /sbin/sysctl || exit 0
|
||||
|
||||
. /etc/rc.status
|
||||
. /etc/sysconfig/sysctl
|
||||
|
||||
@ -28,16 +30,14 @@ case "$1" in
|
||||
# the values set here might be overridden by the settings
|
||||
# in /etc/sysconfig/sysctl
|
||||
#
|
||||
if [ -x /sbin/sysctl ] ; then
|
||||
if [ ! -e /etc/sysctl.conf ]; then
|
||||
if test ! -e /etc/sysctl.conf ; then
|
||||
echo -n "Sysctl: no file /etc/sysctl.conf"
|
||||
rc_failed 5
|
||||
else
|
||||
echo "Setting current sysctl status from /etc/sysctl.conf"
|
||||
sysctl -e -p /etc/sysctl.conf
|
||||
fi
|
||||
rc_status -v -r
|
||||
else
|
||||
echo -n "Setting current sysctl status from /etc/sysctl.conf"
|
||||
sysctl -e -q -p /etc/sysctl.conf
|
||||
fi
|
||||
rc_status -v -r
|
||||
;;
|
||||
stop)
|
||||
# skip / do nothing
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 9 11:38:54 CET 2009 - werner@suse.de
|
||||
|
||||
- boot.sysctl: be more quiet (bnc#473729)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 15 17:56:31 CET 2008 - werner@suse.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package procps (Version 3.2.7)
|
||||
#
|
||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -27,7 +27,7 @@ Group: System/Monitoring
|
||||
PreReq: %fillup_prereq %insserv_prereq
|
||||
AutoReqProv: on
|
||||
Version: 3.2.7
|
||||
Release: 149
|
||||
Release: 150
|
||||
Summary: ps utilities for /proc
|
||||
Provides: ps
|
||||
Obsoletes: ps
|
||||
@ -181,6 +181,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%_mandir/man8/sysctl.8.gz
|
||||
|
||||
%changelog
|
||||
* Mon Feb 09 2009 werner@suse.de
|
||||
- boot.sysctl: be more quiet (bnc#473729)
|
||||
* Mon Dec 15 2008 werner@suse.de
|
||||
- Add c option patch to pgrep for counting matches (bnc#459081)
|
||||
* Wed Dec 10 2008 werner@suse.de
|
||||
|
Loading…
Reference in New Issue
Block a user