#!/bin/sh

sudo dconf update
# We assume that if a user home directory exists with the name "edubuntu" that
# we're in the live session, so don't disable and reboot if '/home/edubuntu' exists
# otherwise we'll end up in a reboot loop.
if [ -d "/home/edubuntu/" ]; then
  exit 0
else
  systemctl disable edubuntu-firstboot.service
#  reboot
fi
