#!/bin/bash
set -e
sudo /usr/bin/sync
sudo /usr/bin/systemctl reboot