Masato Taruishi
taru****@users*****
2004年 10月 11日 (月) 21:34:14 JST
=================================================================== RCS file: ultrapossum/debian/ultrapossum-failover.config,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- ultrapossum/debian/ultrapossum-failover.config 2004/10/08 07:32:04 1.9 +++ ultrapossum/debian/ultrapossum-failover.config 2004/10/11 12:34:14 1.10 @@ -34,6 +34,12 @@ set ultrapossum-failover/backup "$BACKUP" set ultrapossum-failover/virtual "$VIRTUAL" +if test "x$BACKUP" != "x"; then + set ultrapossum-failover/do_failover "true" +else + set ultrapossum-failover/do_failover "false" +fi + db_input high ultrapossum-failover/do_failover || true db_go || true db_get ultrapossum-failover/do_failover =================================================================== RCS file: ultrapossum/debian/ultrapossum-failover.postinst,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- ultrapossum/debian/ultrapossum-failover.postinst 2004/10/08 07:32:04 1.14 +++ ultrapossum/debian/ultrapossum-failover.postinst 2004/10/11 12:34:14 1.15 @@ -37,7 +37,7 @@ case "$1" in configure) - ultrapossum-config remove failover NFSDIR BACKUP VIRTUAL + ultrapossum-config remove failover BACKUP VIRTUAL eval `ultrapossum-config init` trap "eval `ultrapossum-config term`" 0