From: Phil W. <ph...@su...> - 2003-01-29 20:22:32
|
Hi Bruce, > > I'm all for adding a '-s' Directive to allow the user to specify an > > arbitrary script for smartd to run and I'm all for removing the > > (incomplete) '-M exec' Directive and requiring the user to write their > > own script if they want to be mailed the output of 'smartctl -a' or > > whatever. > > In fact we can accomplish all of this with really tiny changes to the > code, and without adding a "-s" option at all. We make the following > modifications. [Note: the environment variables names below are > off-the-cuff, and there may be a better choices of names]: I still think we should add a '-s' directive. It would require very little more work than what you have suggested and it would make the interface and documentation cleaner. Phil |