#!/bin/sh if [ -f /var/run/reboot-required -a -f /etc/cosmos-automatic-reboot ]; then reboot fi