satip-axe/fs-add/etc/init.d/ntpd

8 lines
163 B
Bash
Executable File

#!/bin/sh
test -r /etc/sysconfig/config && . /etc/sysconfig/config
test -z "$NTPD_OPTS" && NTPD_OPTS="-p 0.pool.ntp.org"
exec /usr/sbin/ntpd -I eth0 $NTPD_OPTS