Add support for init command
[hvutilities.git] / scripts / kernel-send-patches.sh
index 6cca90d..192cf91 100755 (executable)
@@ -207,6 +207,10 @@ rm -rf ${srcdir}/*.patch
 # If the cover letter is not between start and end commits, save a copy:
 cp ${srcdir}/cover-letter.txt /tmp
 
+if [ x"${init_cmd}" != x"" ]; then
+    ${init_cmd}
+fi
+
 patches_branch="kernel_send_patches"
 
 if [ x"${series}" != x"" ]; then