> Jari Fredriksson wrote: >> You can always create a send_bacula_beeper.sh which contains >> >> #!/bin/sh >> http_proxy=some_ip:some_port >> send_beeper.pl $* >> > Hi: > I haven't enough knowledge of Bash. I want to use var from Bacula as %n > and %e. I create a script as you suggest me. > > #!/bin/sh > http_proxy=some_ip:some_port > send_beeper.pl $* > http_proxy= > > But how I can pass parameters %n and %e to this script? > Regards
Just like you do now from Bacula. The parameter $* means 'all parameters', so the new shell script passes all of its parameters to send_beeper.pl. Just pass to it the %n and %e in Bacula. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users