Split out command submission code into its own function.
Split out command submission code into its own function.

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars