On Thu, 26 Feb 2009 16:42:39 +0200
Покотиленко Костик <cas...@meteor.dp.ua> wrote:

> В Чтв, 26/02/2009 в 12:37 +0300, Alexander GQ Gerasiov пишет:
> > On Thu, 26 Feb 2009 11:33:35 +0200
> > Покотиленко Костик <cas...@meteor.dp.ua> wrote:
> > 
> > > В Вто, 03/02/2009 в 15:03 +0200, Покотиленко Костик пишет:
> > > > Проблема с сабж.
> > > > 
> > > > # ls -la /etc/rcS.d | grep proc
> > > > lrwxrwxrwx  1 root root   19 2006-05-23 17:29 S30procps.sh
> > > > -> ../init.d/procps.sh
> > > > 
> > > > # ls -la /etc/init.d/procps.sh
> > > > -rwxr-xr-x 1 root root 997 2006-09-13
> > > > 04:42 /etc/init.d/procps.sh
> > > > 
> > > > Вручную, после загрузки всё параметры подгружаются нормально
> > > > командой:
> > > > 
> > > > # /etc/init.d/procps.sh start
> > > 
> > > Народ, неужели никто не использует systcl.conf?
> > > 
> > У меня всё работает(с)
> 
> Можно увидеть вывод вот этого на системе где работает:
> 
> ls -la /etc/rc*.d/* | grep procps.sh
> 
> У меня так:
> lrwxrwxrwx 1 root root  19 2006-05-23 17:29 /etc/rcS.d/S30procps.sh
> -> ../init.d/procps.sh
> 
> 

[r...@vice:lib/Audio]# ls -la /etc/rc*.d/* | grep
procps.sh
[1]    12354 done       ls --color=auto -la /etc/rc*.d/* | 
12355 exit 1     grep procps.sh

[r...@vice:lib/Audio]# grep sysctl /etc/init.d/*      
/etc/init.d/keymap.sh:  [ -x /sbin/sysctl ] || return
/etc/init.d/keymap.sh:  [ -r /etc/sysctl.conf ] || return
/etc/init.d/keymap.sh:  grep -v '^\#' /etc/sysctl.conf | grep -q keycodes 
/etc/init.d/keymap.sh:      grep keycodes /etc/sysctl.conf | grep -v "^#" | 
while read d ; do
/etc/init.d/keymap.sh:          /sbin/sysctl -w $d 2> /dev/null || true
/etc/init.d/procps:# /etc/init.d/procps: Set kernel variables from 
/etc/sysctl.conf
/etc/init.d/procps:# Description:  Loads kernel parameters that are specified 
in /etc/sysctl.conf
/etc/init.d/procps:which sysctl > /dev/null || exit 0
/etc/init.d/procps:                for file in /etc/sysctl.conf 
/etc/sysctl.d/*.conf ; do
/etc/init.d/procps:                                sysctl $quiet -p "$file"
/etc/init.d/vz: sysctl -q -w net.ipv4.conf.$VZDEV.send_redirects=0
/etc/init.d/vz: sysctl -q -w net.ipv4.route.src_check=0
[r...@vice:lib/Audio]# ls -la /etc/rc*.d/* | grep procps 
lrwxrwxrwx 1 root root  16 Янв 19  2008 /etc/rcS.d/S30procps -> ../init.d/procps
[r...@vice:lib/Audio]#                   


Lenny.

-- 
Best regards,
 Alexander GQ Gerasiov

 Contacts:
 e-mail:    g...@cs.msu.su             Jabber:  g...@jabber.ru
 Homepage:  http://gq.net.ru         ICQ:     7272757
 PGP fingerprint: 0628 ACC7 291A D4AA 6D7D  79B8 0641 D82A E3E3 CE1D

Attachment: signature.asc
Description: PGP signature

Ответить