ovs-ctl.in: Clean up code for the next commit.
authorGurucharan Shetty <gshetty@nicira.com>
Thu, 28 Feb 2013 22:21:40 +0000 (14:21 -0800)
committerGurucharan Shetty <gshetty@nicira.com>
Tue, 5 Mar 2013 17:45:05 +0000 (09:45 -0800)
commit737af96ddee6bed45e3f035c3f043a67bef2f295
treee24bb00bcccc85c970cd25bc92ff523e4707d638
parent85c9de194b9f432f7b8a66bda980cbab52a55b72
ovs-ctl.in: Clean up code for the next commit.

Previously, we would null the variables holding the names of the restore
scripts in case there were any errors in creating the restore script or if
we did not need to run a particular restore script. That is not necessary,
as we can just check the execution permission set on those scirpts.

Also, carve out a couple of functions which will be used in the next commit.

Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
utilities/ovs-ctl.in