Permalink
Browse files

NTP should be enabled by default pointing at a valid server

  • Loading branch information...
1 parent c20db90 commit 728695713bff0127a0d54b3bd74b0b6eb3fbd707 @JohnSonnenschein JohnSonnenschein committed Jan 13, 2011
Showing with 8 additions and 1 deletion.
  1. +3 −0 ntp/Solaris/ntp.conf
  2. +1 −1 ntp/Solaris/ntp.xml
  3. +4 −0 ntp/install-ntp
View
@@ -0,0 +1,3 @@
+server 208.80.96.70
+driftfile /etc/ntp/ntp.drift
+
View
@@ -96,7 +96,7 @@
value='solaris.smf.value.ntp' />
</property_group>
- <instance name="default" enabled="false">
+ <instance name="default" enabled="true">
<property_group name='config' type='application' >
<!-- default property settings for ntpd(1M). -->
View
@@ -28,10 +28,14 @@ mkdir -p ${DESTDIR}/etc/security/auth_attr.d
mkdir -p ${DESTDIR}/etc/security/prof_attr.d
mkdir -p ${DESTDIR}/lib/svc/manifest/network
mkdir -p ${DESTDIR}/lib/svc/method
+mkdir -p ${DESTDIR}/var/ntp
_install N Solaris/ntp.server ${DESTDIR}/etc/inet/ntp.server 0644
_install N Solaris/ntp.client ${DESTDIR}/etc/inet/ntp.client 0644
+_install N Solaris/ntp.conf ${DESTDIR}/etc/inet/ntp.conf 0644
_install N Solaris/ntp.xml ${DESTDIR}/lib/svc/manifest/network/ntp.xml 0444
_install N Solaris/ntp ${DESTDIR}/lib/svc/method/ntp 0555
_install N Solaris/auth_attr ${DESTDIR}/etc/security/auth_attr.d/ntp 0555
_install N Solaris/prof_attr ${DESTDIR}/etc/security/prof_attr.d/ntp 0555
+
+touch ${DESTDIR}/var/ntp/ntp.drift

0 comments on commit 7286957

Please sign in to comment.