├── bsod.sh ├── bsod-file.sh ├── README.md ├── bsod-file-with-updater.sh └── flies.txt /bsod.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | TEXT=${1:-"Unknown Error"} 4 | 5 | sudo journalctl --user --flush --rotate --vacuum-time=1s 6 | sudo systemd-cat -p emerg echo $TEXT 7 | sudo /usr/lib/systemd/systemd-bsod -------------------------------------------------------------------------------- /bsod-file.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | FILE=${1:-"bsod.txt"} 4 | 5 | sudo journalctl --user --flush --rotate --vacuum-time=1s 6 | sudo systemd-cat -p emerg echo "$(printf %b '\e[41m' '\e[8]' '\e[H\e[J')$(cat $FILE)" 7 | sudo /usr/lib/systemd/systemd-bsod 8 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # systemd-bsod Playground 2 | 3 | This is a collection of not so serious tools for use with systemd-bsod to do pranks or to just decorate your screen or whatever. This repo contains the scripts for the video at https://www.youtube.com/watch?v=7H9TsMvpIfI, for any questions, please refer to the video. 4 | -------------------------------------------------------------------------------- /bsod-file-with-updater.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | FILE=${1:-"bsod.txt"} 4 | 5 | call_bsod() { 6 | sudo journalctl --user --flush --rotate --vacuum-time=1s 7 | sudo systemd-cat -p emerg echo "$(printf %b '\e[41m' '\e[8]' '\e[H\e[J')$(cat $FILE | sed -E "s/[0-9]+/$1/g")" 8 | sudo /usr/lib/systemd/systemd-bsod & 9 | sleep 2 10 | } 11 | 12 | for ((i = 0; i <= 100; i += 10)); do 13 | call_bsod $i 14 | done 15 | 16 | sudo poweroff -------------------------------------------------------------------------------- /flies.txt: -------------------------------------------------------------------------------- 1 | _ .' ) ,.--. / .' // \ / / \\ / / / `'--' . ' i i ,.--. | | // \ ' ' \\ / \ \ `'--' \ \ \ '. '._) Your PC ran into a problem and needs to reset. We're just collecting some error info, and then we're booting Windows for you. 0% complete For more information about this issue and possible fixes, visit https://www.flies.sh/stopcode If you call a support person, give them this info: Stop code: WINDOWS_FAULT_IN_NONWINDOWS_AREA and delete Linux from your computer..._ --------------------------------------------------------------------------------