Advertisement
drkskwlkr

Reboot if necessary (e.g. after kernel update)

May 22nd, 2022
1,499
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.07 KB | None | 0 0
  1. #!/bin/bash
  2. if [ -f /var/run/reboot-required ]; then
  3.   reboot now
  4. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement