diff options
author | Aaron Walker <ka0ttic@gentoo.org> | 2005-01-26 16:19:49 +0000 |
---|---|---|
committer | Aaron Walker <ka0ttic@gentoo.org> | 2005-01-26 16:19:49 +0000 |
commit | 5d9a6dbc175a257bc9132251bf9871da62bc572d (patch) | |
tree | c40b9ce1a53fc157b1a6f95be5532033afbf8186 /eclass | |
parent | Added dopamd. (diff) | |
download | gentoo-2-5d9a6dbc175a257bc9132251bf9871da62bc572d.tar.gz gentoo-2-5d9a6dbc175a257bc9132251bf9871da62bc572d.tar.bz2 gentoo-2-5d9a6dbc175a257bc9132251bf9871da62bc572d.zip |
Moved dopamd to eutils.eclass.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/cron.eclass | 21 |
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 |