Hi! I'd like to write a wrapper script for amandad.exe on Cygwin. I want to make sure that all the log files are made readable by the group once amandad is finished. My issue is that I don't quite know how to ensure that amandad gets passed all the proper parameters.

Would the following work if placed in inetd.conf in place of amandad.exe?

-----------------------------------------
#!/bin/sh

# call amanda
/usr/local/amanda/libexec/amandad.exe $@

cd /tmp/amanda
chmod g+r *
------------------------------------------

Thanks,
Ricky



Reply via email to