Many in the top echalons of the Pakistani military were placed there by Musharraf. He would have appointed men loyal to him and who hold similar ideals. The Pakistani military will oppose severe military action unless they can lead as they wish to, get credit for any success and blame the government should it fail, and will use either outcome as a means to further empower themselves. I dont see another Junta for a while though, they will wait (and perhaps Engineer) for failures to rock the current government.
Mind you, Musharraf was not something of a US puppet until the US-Afghan war. What he feared was an American presence in India which would then fortify India's position, something which he perceived would prove disastrous for Pakistan. Another fear of his was that the United States would attempt to unseat him, or launch an invasion if he should have been seen to be backing Taliban. Perhaps his hosting of US troops and aid to their war effort was more of a means to secure his position internationally. Because of this, one can imagine the officers he appointed are not all that liberal. I am sure they are just as conservative, simply forced to accede to foreign interests. Remember, those like Zia Ul-Haqq came largely from the military. Many members of Jamaat E-Islami also gained high rank within the forces.
With all this in mind, could there be a military coup, one which would perhaps preserve the old political structure of Pakistan, while at the same time revive the good relations between state and the people? If the Taliban should become a mass movement, which with the number of refugees I see it fast becoming, it would no doubt be necessary for any new government to gain their acceptance. With leaders such as Zardari, Musharraf and Sharif, I fail to see how the Pakistani state can stand. I am also becoming fast tired of hearing the misery which is taking place in that country. Seeing the refugees being forced from their homes by the military shelling is a heart breaking sight. I wish the best for Pakistan.