Displaying 1 result from an estimated 1 matches for "vendor_pre_hook".
2009 Nov 16
3
[PATCH] Add support for vendor hooks during ovirt-early start()
...ipts/ovirt-early
+++ b/scripts/ovirt-early
@@ -369,9 +369,27 @@ start() {
console=*)
bootparams="$bootparams $i"
;;
+ vendor=*)
+ i=${i#vendor=}
+ # path to vendor script:
+ # has 2 stages:
+ # vendor_pre_hook()
+ # vendor_post_host()
+ # pre_hook runs after cmdline processing but before the rest of ovirt-early
+ # post_hook runs at the end of ovirt-early start()
+ [ -x "${i}" ] && {
+ vendor_script="$i"
+...