Enable shell to resize and restart

By prepending "do_" to corresponding functions.

Change-Id: I1a22527ab36b636eb3e6364e669a3d64154beca5