Advertisement
drkskwlkr

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

May 22nd, 2022
1,230
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. if [ -f /var/run/reboot-required ]; then
  3.   reboot now
  4. fi
Advertisement
RAW Paste Data Copied
Advertisement