Wed Oct 31 04:51:44 PDT 2007
- Previous message: [Slony1-general] How to pass parameters to a slonik script?
- Next message: [Slony1-general] How to pass parameters to a slonik script?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> ## Subscribe > subscribe(){ > provider=$1 > subscriber=$2 > if test ${provider} -eq ${subscriber};then > return > fi > slonik <<EOF > include <$conf_file>; > echo 'Subscribing ${subscriber} to ${provider}'; > subscribe set > (id=1,provider=$provider,receiver=$subscriber,forward=yes); > echo 'Done'; > EOF > } Okay, this will propably work. Thank you very much. Regards Dominik
- Previous message: [Slony1-general] How to pass parameters to a slonik script?
- Next message: [Slony1-general] How to pass parameters to a slonik script?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list