summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2005-01-26 16:19:49 +0000
committerAaron Walker <ka0ttic@gentoo.org>2005-01-26 16:19:49 +0000
commit75921fa92c80cb95f121a977e3c81062f3a2c678 (patch)
tree4c8a585c23d6a164129f9e52bf116d1dcf27dc74 /eclass/cron.eclass
parentAdded dopamd. (diff)
downloadhistorical-75921fa92c80cb95f121a977e3c81062f3a2c678.tar.gz
historical-75921fa92c80cb95f121a977e3c81062f3a2c678.tar.bz2
historical-75921fa92c80cb95f121a977e3c81062f3a2c678.zip
Moved dopamd to eutils.eclass.
Diffstat (limited to 'eclass/cron.eclass')
-rw-r--r--eclass/cron.eclass21
1 files changed, 1 insertions, 20 deletions
diff --git a/eclass/cron.eclass b/eclass/cron.eclass
index db1792b5fc67..dd14f61fc038 100644
--- a/eclass/cron.eclass
+++ b/eclass/cron.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/cron.eclass,v 1.1 2005/01/15 12:37:53 ka0ttic Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/cron.eclass,v 1.2 2005/01/26 16:19:49 ka0ttic Exp $
# Original Author: Aaron Walker <ka0ttic@gentoo.org>
#
@@ -137,25 +137,6 @@ docrontab() {
fi
}
-# dopamd [ file ] [ new file ]
-#
-# Install pam auth config file in /etc/pam.d
-#
-# NOTE: this would make much more sense as a portage script (eg. doenvd)
-#
-# The first argument, 'file' is required. Install as 'new file', if
-# specified.
-
-dopamd() {
- local pamd="${1}" newpamd="${2:-${1}}"
- [[ -z "${1}" ]] && die "dopamd requires at least one argument."
-
- insinto /etc/pam.d
- # these are the default doins options, but be explicit just in case
- insopts -m 0644 -o root -g root
- newins ${pamd} ${newpamd} || die "failed to install ${newpamd}"
-}
-
cron-pkg_postinst() {
echo
# vixie is the only daemon that has a true system crontab