Annotation of embedaddon/ntp/html/hints/svr4_package, revision 1.1.1.1
1.1 misho 1: Date: Wed, 12 Apr 1995 12:42:03 +0100
2: Message-ID: <513.797686923@concurrent.co.uk>
3: From: Andy Chittenden <asc@concurrent.co.uk>
4:
5: Dave
6:
7: Here is a uuencoded, compressed tar file. The only file I've
8: changed is Makefile - I've included the full file rather than diffs.
9: There are some new files as well:
10:
11: xntp shell script that starts up ntp during boot up
12: (the packaging stuff creates links to it so it comes
13: up at run level 2). As with all svr4 start/stop
14: scripts, it takes one parameter which is either
15: start or stop. It assumes that ntp.conf is in
16: /etc/inet/ntp.conf (where it should be on svr4
17: machines).
18: prototype describes the file contents of the package.
19: You might like to review its contents to
20: see whether you want to include any other
21: files or remove some. NB I've made the man
22: pages go into 1m as they should on svr4.
23: preinstall runs before installation takes place. It
24: ensures that ntp is down if it is up before
25: installing a replacement package
26: postinstall starts up ntp after package installation.
27: preremove brings down ntp before removing the package.
28:
29: You create a package using "make package". This creates a file
30: called xntp.pkg. To install this package, you use
31: "pkgadd -d `pwd`/xntp.pkg xntp". This will start up ntp if
32: /etc/inet/ntp.conf exists. If you don't want the package anymore, use
33: "pkgrm xntp". I have tested this on Solaris 2.4.
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>