[Git][NTPsec/ntpsec][master] 2 commits: Add LSB heders to distributed init script.
Eric S. Raymond
gitlab at mg.gitlab.com
Mon Jun 13 18:41:53 UTC 2016
Eric S. Raymond pushed to branch master at NTPsec / ntpsec
Commits:
2cbf2203 by Eric S. Raymond at 2016-06-13T14:27:25-04:00
Add LSB heders to distributed init script.
- - - - -
107d19f7 by Eric S. Raymond at 2016-06-13T14:40:48-04:00
Fix typos, remove empty junk files.
- - - - -
8 changed files:
- etc/README
- etc/rc/ntpd
- − etc/rc1/postinstall
- − etc/rc1/preinstall
- − etc/rc1/preremove
- − etc/rc1/prototype
- − etc/rc1/xntp
- − etc/rc2/local.ntpd
Changes:
=====================================
etc/README
=====================================
--- a/etc/README
+++ b/etc/README
@@ -5,8 +5,8 @@ NTP daemon, and some example startup scripts for launching it.
The "use-" files are modular pieces of ntp.conf files that you can string
together in any order for effect. The file titles are clues to what they're
-useful for. Each has an explanstory header comment. The file "example conf"
-shows what a file made oud of use snippets is like.
+useful for. Each has an explanatory header comment. The file "example conf"
+shows what a file made out of use snippets is like.
The directory 'historical' contains some example scripts from NTP
Classic. They are quite particular to specific machines; just copying
=====================================
etc/rc/ntpd
=====================================
--- a/etc/rc/ntpd
+++ b/etc/rc/ntpd
@@ -1,5 +1,14 @@
#!/bin/sh
+### BEGIN INIT INFO
+# Provides: ntp
+# Required-Start: $network $remote_fs $syslog
+# Required-Stop: $network $remote_fs $syslog
+# Default-Start: 2 3 4 5
+# Default-Stop: 1
+# Short-Description: Control NTP daemon
+### END INIT INFO
+
NTPD=/usr/sbin/ntpd
PIDFILE=/var/run/ntpd.pid
USER=ntp
=====================================
etc/rc1/postinstall deleted
=====================================
--- a/etc/rc1/postinstall
+++ /dev/null
=====================================
etc/rc1/preinstall deleted
=====================================
--- a/etc/rc1/preinstall
+++ /dev/null
=====================================
etc/rc1/preremove deleted
=====================================
--- a/etc/rc1/preremove
+++ /dev/null
=====================================
etc/rc1/prototype deleted
=====================================
--- a/etc/rc1/prototype
+++ /dev/null
=====================================
etc/rc1/xntp deleted
=====================================
--- a/etc/rc1/xntp
+++ /dev/null
=====================================
etc/rc2/local.ntpd deleted
=====================================
--- a/etc/rc2/local.ntpd
+++ /dev/null
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/compare/9a21eea052f8d3294932a9859f77c68cf5cbb9ad...107d19f795026998d2582224e48f1e6c9d38f990
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160613/a3704b98/attachment.html>
More information about the vc
mailing list