Almost a complete re-write of the kernel module. However this time it
has been tested and debugged so it will actually run. Various things are
still missing from the original BASH script since there is no
boot-loader module built yet and no template config file ready for
operation.
Minor modification to the last commit which tweaked the final genkernel
line.
Does a quick check to make the script is being run as root. This will
allow for the script to be run as a stand-alone module.
Change to include a /t in UID check.