#!/bin/bash

case "$1" in
    ntpUpdate)
        # update time
        systemctl stop ntp
        ntpd -gq
        systemctl start ntp
    ;;
    *)
        echo "Usage system.sh {ntpUpdate}"
        exit 1
    ;;
esac

exit 0
