os-autoinst/os-autoinst — pull request #142 by DimStar77 (2014-12-08 15:48:56+00:00)
Title: imroot: check if we're really root

The current setup simply prints 'imroot' to the serial port - which also works as a regular user and thus the 'assert' if imroot is not found is most useless.

Let's first test if our id is actually 0 and only then print out that we're actually root.