diff options
Diffstat (limited to 'hook')
-rw-r--r-- | hook/uname | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,6 +1,10 @@ #!/bin/sh -run_earlyhook() { - echo " Booting $(uname -srm)." +run_latehook() { + if [ -s /new_root/version ]; then + echo " Booting [1;37m$(cat /new_root/version)[0m with [1;37m$(uname -srm)[0m." + else + echo " Booting [1;37m$(uname -srm)[0m." + fi echo } |