[Ultrapossum-cvs 885] demo/uml 1.21,1.22,update-uml

Back to archive index

Masato Taruishi taru****@users*****
2004年 10月 18日 (月) 00:53:21 JST


===================================================================
RCS file: demo/uml/update-uml,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- demo/uml/update-uml	2004/10/13 09:07:27	1.21
+++ demo/uml/update-uml	2004/10/17 15:53:21	1.22
@@ -89,8 +89,10 @@
 
 # ad-hoc?
 adjustconfig() {
-  ultrapossum_setconf_shell "$UMLDIR/etc/module.d/server.cf" MASTER "$HOST"
   ultrapossum_setconf_shell "$UMLDIR/etc/ultrapossum.cf" LDAPMASTER "$HOST"
+  if test -f "$UMLDIR/etc/server.cf; then
+    ultrapossum_setconf_shell "$UMLDIR/etc/module.d/server.cf" MASTER "$HOST"
+  fi
   if test -f "$UMLDIR/etc/module.d/failover.cf"; then
     ultrapossum_setconf_shell "$UMLDIR/etc/module.d/failover.cf" NFSDIR "$NFSDIR"
     ultrapossum_setconf_shell "$UMLDIR/etc/module.d/failover.cf" NFSDEVICE "$NFSDEVICE"



Ultrapossum-cvs メーリングリストの案内
Back to archive index