Ideally you should do it as a daemon and just leave it as a normal login prompt on the console. If you want to do what the empeg does then you'll have to alter the boot up sequence and you can do that by replacing init or fiddling with the startup scripts. You don't need a custom kernel or anything like that.