#!/bin/bash

# This script can be used to reboot the Nyquist appliance

caller=$1

if [ "${caller}" != "button" ]; then
	sudo shutdown -r now
else
	systemctl --force reboot
fi
