��� ��� � ���� ����������� � ��� �������.  :(

relay1# cat /usr/local/etc/rc.d/oops.sh
#!/bin/sh

if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then
    echo "$0: Cannot determine the PREFIX" >&2
    exit 1
fi

case "$1" in
start)
        if [ -x ${PREFIX}/sbin/oopsctl ]; then
                ${PREFIX}/sbin/oopsctl start 2>&1 > /dev/null; echo -n '
oops'
        fi
        ;;
stop)
        if [ -x ${PREFIX}/sbin/oopsctl ]; then
                ${PREFIX}/sbin/oopsctl -s /tmp/oopsctl stop
        fi
        ;;
*)
        echo "Usage: `basename $0` {start|stop}" >&2
        ;;
esac

exit 0
------------------

55080  p0- S      7:41.08 /usr/local/sbin/oops -c
/usr/local/etc/oops/oops.cfg

relay1# oopsctl -s /tmp/oopsctl stat
oopsctl: connect(): Connection refused



> -----Original Message-----
> From: Dmitry Frolov [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, November 24, 2001 10:20 PM
> To: [EMAIL PROTECTED]
> Subject: [OOPS] Re: [OOPS] Re: [OOPS] ������
> 
> 
> ������,
> 
> On Sat, Nov 24, 2001 at 09:32:57PM +0300, Priamikov Alexei wrote:
> > 
> > ���> ��� ��� ��� ������
> > 
> > ���> relay1# oopsctl stat
> > ���> oopsctl: connect(): No such file or directory
> > ���> relay1# oopsctl stop
> > ���> oopsctl: connect(): No such file or directory
> > 
> > � ����������� ���? ��� �������� �� rc.local?
> > ���� ��, �� ������� ����� � ������ ����������.
> > � ���� ����� �������� ������� ���� �� �������� � oopsctl
> > ���� � ������ ��� �� ��� ����.
> > 
> 
> ���� ����� ���� � ���, ��� oops ���� ���� ������ ������� � ./modules �
> ������ ���� ./modules ���, �� ��� �� ���.
> ������������� ���� oops ����������� � ������� ����������� /,
> ������ ������ � /modules - ��� freebsd  ����� ������� ����, ��
>  ��� ������
> kernel :), �� ������� � �������� ��� ���, � ��� ����� � ��� oopctl.
> workaround ����� - � startup ������� ������ cd 
> /usr/local/oops ����� �������� oops.
> 
> -- 
> Dmitry Frolov, Zenon N.S.P. (095) 250-4629, http://www.zenon.net/
> =====================================================================
> If you would like to unsubscribe from this list send message to
> [EMAIL PROTECTED] with "unsubscribe oops" in message body.
> Archive is accessible on http://lists.paco.net/oops-rus/
> 
=====================================================================
If you would like to unsubscribe from this list send message to
[EMAIL PROTECTED] with "unsubscribe oops" in message body.
Archive is accessible on http://lists.paco.net/oops-rus/


Дати відповідь електронним листом