[Ocfs2-tools-commits] jlbec commits r696 - trunk/vendor/common

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Fri Mar 18 19:45:22 CST 2005


Author: jlbec
Date: 2005-03-18 19:45:20 -0600 (Fri, 18 Mar 2005)
New Revision: 696

Added:
   trunk/vendor/common/o2cb.sysconfig
Modified:
   trunk/vendor/common/Makefile
   trunk/vendor/common/o2cb.init
   trunk/vendor/common/ocfs2-tools.spec.in
Log:
o Create default o2cb.sysconfig

Modified: trunk/vendor/common/Makefile
===================================================================
--- trunk/vendor/common/Makefile	2005-03-19 01:23:23 UTC (rev 695)
+++ trunk/vendor/common/Makefile	2005-03-19 01:45:20 UTC (rev 696)
@@ -2,6 +2,6 @@
 
 include $(TOPDIR)/Preamble.make
 
-DIST_FILES = o2cb.init ocfs2-tools.spec.in
+DIST_FILES = o2cb.init o2cb.sysconfig ocfs2-tools.spec.in
 
 include $(TOPDIR)/Postamble.make

Modified: trunk/vendor/common/o2cb.init
===================================================================
--- trunk/vendor/common/o2cb.init	2005-03-19 01:23:23 UTC (rev 695)
+++ trunk/vendor/common/o2cb.init	2005-03-19 01:45:20 UTC (rev 696)
@@ -66,7 +66,7 @@
     cat >/etc/sysconfig/o2cb <<EOF
 #
 # This is a configuration file for automatic startup of the O2CB
-# driver.  It is generated by running /etc/init.d/oracleasm configure.
+# driver.  It is generated by running /etc/init.d/o2cb configure.
 # Please use that method to modify this file
 #
 

Added: trunk/vendor/common/o2cb.sysconfig
===================================================================
--- trunk/vendor/common/o2cb.sysconfig	2005-03-19 01:23:23 UTC (rev 695)
+++ trunk/vendor/common/o2cb.sysconfig	2005-03-19 01:45:20 UTC (rev 696)
@@ -0,0 +1,12 @@
+#
+# This is a configuration file for automatic startup of the O2CB
+# driver.  It is generated by running /etc/init.d/o2cb configure.
+# Please use that method to modify this file
+#
+
+# O2CB_ENABELED: 'true' means to load the driver on boot.
+O2CB_ENABLED=false
+
+# O2CB_BOOTCLUSTER: If not empty, the name of a cluster to start.
+O2CB_BOOTCLUSTER=ocfs2
+

Modified: trunk/vendor/common/ocfs2-tools.spec.in
===================================================================
--- trunk/vendor/common/ocfs2-tools.spec.in	2005-03-19 01:23:23 UTC (rev 695)
+++ trunk/vendor/common/ocfs2-tools.spec.in	2005-03-19 01:45:20 UTC (rev 696)
@@ -54,6 +54,8 @@
 
 mkdir -p $RPM_BUILD_ROOT/etc/init.d
 cp -f vendor/common/o2cb.init $RPM_BUILD_ROOT/etc/init.d/o2cb
+mkdir -p $RPM_BUILD_ROOT/etc/sysconfig
+cp -f vendor/common/o2cb.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/o2cb
 
 for tool in fsck.ocfs2 mkfs.ocfs2 mounted.ocfs2 tunefs.ocfs2 debugfs.ocfs2 o2cb_ctl mount.ocfs2 ocfs2cdsl
 do
@@ -87,6 +89,7 @@
 /sbin/mount.ocfs2
 /sbin/ocfs2cdsl
 /etc/init.d/o2cb
+/etc/sysconfig/o2cb
 /usr/share/man/man8/debugfs.ocfs2.8.gz
 /usr/share/man/man8/fsck.ocfs2.8.gz
 /usr/share/man/man8/fsck.ocfs2.checks.8.gz



More information about the Ocfs2-tools-commits mailing list