#!/bin/bash

# returns 1 if machine requires a reboot

needsreboot=$(ls -1 /var/run/reboot-required|wc -l)