Closed steenburgh closed 5 years ago
@ahanson @southpauw This may prove useful tomorrow.
IMO this shouldn't be added to the install script, but the people in QA should be made aware of it to use as needed. Also, why use the -q option? It works just as well without that and gives feedback saying that undo.sh has been downloaded.
This wasn't intended to go in the install script but I needed somewhere to put it. As for the q flag, there's no particular reason to have it. I'll edit my post and remove it.
Also of note, this PR won't actually out it in the install script itself, this PR is just going to put it in the repo as another script.
Lol I should push a commit that adds a trailing tab to every line. Would that make you happy? 😀
Last week at FreeGeek I noticed several computers come back from QA because someone pushed 'prepare for shipping to end user'. Pushing this button makes the first time configuration menu show up on the next bootup, and there is no way to exit it from the UI. This meant that QA couldn't run any of the QA scripts on these machines, so mint had to be completely reinstalled, a 1hr+ process.
I did some digging and it looks like the script run when a user clicks the 'prepare for shipping to end user' button, adds a service called oem-config and sets it to run on bootup. I wrote a quick script to undo that.
To run this script on a computer that's stuck at the first time configuration menu, do the following
oem
for the username andpassword
for the password.wget -O undo.sh https://git.io/vpeiv
to download the script.sudo bash ./undo.sh
sudo reboot
to restart the machine. You've just saved yourself over an hour of work!