File ntp.NetworkManager of Package NTP-4.2.8p14-sle12

#! /bin/sh
#
# ntp dispatcher script for NetworkManager
#
# Dominique Leuenberger <dimstar@suse.de>
#
. /etc/rc.status

case "$2" in
    up)
        # Call netconfig in to reconfigure NTPd with the current time servers
        netconfig modify -s NetworkManager -m ntp <<-EOT
NTPSERVERS='$DHCP4_NTP_SERVERS'
EOT
        ;;
    *)
        exit 0      
        ;;
esac