diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-08-25 14:32:59 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-08-25 14:32:59 +0000 |
commit | 97c4f6f3789ae2c119473c881556f334348be338 (patch) | |
tree | bab33d272a859363b39e9fff5f89efc9b1f5be4a /net-misc | |
parent | firewall friendly defaults (diff) | |
download | historical-97c4f6f3789ae2c119473c881556f334348be338.tar.gz historical-97c4f6f3789ae2c119473c881556f334348be338.tar.bz2 historical-97c4f6f3789ae2c119473c881556f334348be338.zip |
small sanity check in case machine doesnt have the ntp accounts
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/ntp/Manifest | 8 | ||||
-rw-r--r-- | net-misc/ntp/files/ntpd.rc | 7 |
2 files changed, 9 insertions, 6 deletions
diff --git a/net-misc/ntp/Manifest b/net-misc/ntp/Manifest index ac1dfbe77ec1..8c86104d435d 100644 --- a/net-misc/ntp/Manifest +++ b/net-misc/ntp/Manifest @@ -18,14 +18,14 @@ MD5 0ac690ae52fe02f336ae73f9857461ec files/4.2.0-droproot.patch 13908 MD5 24574e6ad1b468152839c10361b51a0f files/4.2.0-linux-config-phone.patch 711 MD5 d07dbc58315f577cc6d1dd8614f95cb1 files/4.2.0-ntpdate-quiet.patch 1117 MD5 87951141777f50b2e4a2347a96f987b8 files/ntpd-4.1.2.rc 806 -MD5 addf1f49f4bce978ecff0de08ab21f52 files/ntpd.rc 801 +MD5 83dee5f8ef2a863c2ba2bb91c432f732 files/ntpd.rc 862 MD5 8f2b873f4294daf289f6e8787fd30439 files/ntpd-4.1.2.confd 394 MD5 b8fc232f85be1313aee4c5a6f0048ca7 files/ntp-client-4.1.2.rc 840 MD5 5fc28af5c2a508eeb67a4d5d0ffab341 files/digest-ntp-4.2.0-r2 135 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.9.10 (GNU/Linux) -iD8DBQFBLKK0HTu7gpaalycRAoZwAKD2hOQO249wKhTLcgGXyniGmeqcpwCeLZ0Q -CBm1ERKexyuRrRCcJtHsOFk= -=RTDZ +iD8DBQFBLKMhHTu7gpaalycRAhSNAKCa48NmIWQP50wRWssMVgmWPrikuQCg3ta7 +IFscjguLwQ1xAQosZkXkgtU= +=00HY -----END PGP SIGNATURE----- diff --git a/net-misc/ntp/files/ntpd.rc b/net-misc/ntp/files/ntpd.rc index 46e317694764..37a6788095c2 100644 --- a/net-misc/ntp/files/ntpd.rc +++ b/net-misc/ntp/files/ntpd.rc @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/files/ntpd.rc,v 1.19 2004/07/15 00:05:46 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/files/ntpd.rc,v 1.20 2004/08/25 14:32:59 vapier Exp $ depend() { need net @@ -23,7 +23,10 @@ start() { ebegin "Starting ntpd" touch /var/run/ntpd.pid - chown ntp:ntp /var/run/ntpd.pid + if ! chown ntp:ntp /var/run/ntpd.pid ; then + eend 1 "unable to chown pid file" + return 1 + fi /usr/bin/ntpd -p /var/run/ntpd.pid ${NTPD_OPTS} eend $? "Failed to start ntpd" } |