Re: how to move advskew out of hostname.carpXXX ?

2012-02-15 Thread Stuart Henderson
On 2012/02/15 10:36, PP;Q Q P(P8P?P8QP8P= wrote: I wonder if /etc/rc.conf.local included into hostname.xxx scripts ? if so, I could use advskew=100 in rc.conf.local and $advskew in hostname.xxx later It might work; try it.. I don't think it is any more clean than backquotes though.

Re: how to move advskew out of hostname.carpXXX ?

2012-02-14 Thread Stuart Henderson
On 2012-02-13, PP;Q Q P(P8P?P8QP8P= chipits...@gmail.com wrote: Hello! I'd like to sync /etc/hostname.carpXXX files between MASTER and BACKUP, the only difference, of course is advskew paramter. Is there a way to specify it in different config file ? I seen bug report on fwbuilder

Re: how to move advskew out of hostname.carpXXX ?

2012-02-14 Thread Илья Шипицин
I wonder if /etc/rc.conf.local included into hostname.xxx scripts ? if so, I could use advskew=100 in rc.conf.local and $advskew in hostname.xxx later 14 FEWRALQ 2012 G. 23:29 POLXZOWATELX Stuart Henderson s...@spacehopper.orgNAPISAL: On 2012-02-13, P P;Q Q P(P8P?P8Q P8P=

how to move advskew out of hostname.carpXXX ?

2012-02-13 Thread Илья Шипицин
Hello! I'd like to sync /etc/hostname.carpXXX files between MASTER and BACKUP, the only difference, of course is advskew paramter. Is there a way to specify it in different config file ? I seen bug report on fwbuilder (www.fwbuilder.org), which describes something called create_args_carp0, but

Re: how to move advskew out of hostname.carpXXX ?

2012-02-13 Thread James A. Peltier
Why not just use sed to modify the file before the copy to the backup. Else, you can use puppet templates or some other solution. - Original Message - | Hello! | | I'd like to sync /etc/hostname.carpXXX files between MASTER and | BACKUP, the | only difference, of course is advskew