Skip to content

Instantly share code, notes, and snippets.

@mrfrostikcz
Created January 7, 2019 10:10
Show Gist options
  • Save mrfrostikcz/86b5a7c30a1a5e0593c4d1eb1c74af00 to your computer and use it in GitHub Desktop.
Save mrfrostikcz/86b5a7c30a1a5e0593c4d1eb1c74af00 to your computer and use it in GitHub Desktop.
#!/bin/bash
sleep 30
notify-send -u critical -t 3000 "Kernel" "Last software update failed. Please recover previous kernel version manually."
sleep 5m
notify-send -u critical -t 3000 "Crash report" "Unable to find /sys/kernel/slab/buffer_head"
sleep 5
shutdown -r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment