[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gomd-devel] <DAEMON> added two "default behaviours" for SCX

From: Gian Paolo Ghilardi
Subject: [gomd-devel] <DAEMON> added two "default behaviours" for SCX
Date: Sun, 21 Sep 2003 13:59:36 +0200

Hi all.

Just added two "default behaviours" for SCX.
You can allow or block all the commands via two new simple macros (check
updated daemon/etc/scx.conf file). Please refer to the notes below for more

I hope you like it... ;)




IN scxCmdsbook.h/scxCmdsbook.cpp
(+) added setScxDefaultBehaviour() function to set default SCX behaviour
(all commands allowed or blocked).
To enable the execution of all the commands just add the
SCX_ALL_CMDS_ALLOWED macro in /etc/gomd/scx.conf.
To block the execution of every command, just add SCX_ALL_CMDS_BLOCKED macro
in /etc/gomd/scx.conf.
You can add the macro where you want in the file (as the two macros are
searched in the whole file).

IN csCollector.cpp
(+) added support to new scxCmdsbook::setScxDefaultBehaviour().

IN connHandler.cpp
(+) cosmetics.

IN etc/scx.conf
(+) updated the sample scx.conf => all commands allowed.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]