Displaying 1 result from an estimated 1 matches for "7a57ddd".
2009 Nov 16
3
[PATCH] Add support for vendor hooks during ovirt-early start()
...uot; ]; then
mount_config
@@ -434,6 +453,10 @@ start() {
fi
fi
+ if [ -n "${vendor_script}" ]; then
+ vendor_post_hook
+ fi
+
return 0
}
diff --git a/scripts/ovirt-vendor.sample b/scripts/ovirt-vendor.sample
new file mode 100644
index 0000000..7a57ddd
--- /dev/null
+++ b/scripts/ovirt-vendor.sample
@@ -0,0 +1,35 @@
+#!/bin/bash
+
+# This is a sample vendor script
+#
+# We need to provide two hook functions:
+# - vendor_pre_hook()
+# - vendor_post_hook()
+#
+# pre_hook is called after command line processing in ovirt-early, before
+# /config is m...