I'm with Galen on this one.
Almost every time I encounter or see a situation where you can copy/paste a
command into the shell but it doesn't work in a script using the same shell
it tends to be some sort of formatting issue (in this case, quotes).
On 10/5/07, Charles Jones <user-e86b4aeade4e@xymon.invalid> wrote:
Also be aware that I believe Hobbit by default will not accept commands
from remote hosts, only status updates. To enable a remote host to send
commands, see the --admin-senders option of hobbitlaunch.cfg. Don't
forget to restart hobbit to enable the change.
-Charles
--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer