Masato Taruishi
taru****@users*****
2004年 9月 17日 (金) 16:10:31 JST
=================================================================== RCS file: ultrapossum/init.d/30logical,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- ultrapossum/init.d/30logical 2004/09/16 13:46:44 1.2 +++ ultrapossum/init.d/30logical 2004/09/17 07:10:31 1.3 @@ -1,12 +1,4 @@ # Building Logical Variables -TYPE=client -if test "x$MASTER" = "x$HOST" || test "x$BACKUP" = "x$HOST" || include "$HOST" "$SYNCBACKUPS"; then - TYPE=master -else - for s in $SLAVES - do - if test "x$s" = "x$HOST"; then - TYPE=slave - fi - done +if test "x$TYPE" = "x"; then + TYPE=client fi