summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2004-06-17 19:37:19 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2004-06-17 19:37:19 +0000
commitb7556baf51eef648bd6d6cbf625d7eba506c6025 (patch)
tree2593484a1984c1959addc8ee7202c7466d339f9c /app-admin/pwgen/files
parentAdded a workaround for bug #53825. (Manifest recommit) (diff)
downloadgentoo-2-b7556baf51eef648bd6d6cbf625d7eba506c6025.tar.gz
gentoo-2-b7556baf51eef648bd6d6cbf625d7eba506c6025.tar.bz2
gentoo-2-b7556baf51eef648bd6d6cbf625d7eba506c6025.zip
Taking ownership for livecd herd (previously unmaintained) and adding init script if USE=livecd.
Diffstat (limited to 'app-admin/pwgen/files')
-rw-r--r--app-admin/pwgen/files/digest-pwgen-2.031
-rw-r--r--app-admin/pwgen/files/pwgen.rc19
2 files changed, 19 insertions, 1 deletions
diff --git a/app-admin/pwgen/files/digest-pwgen-2.03 b/app-admin/pwgen/files/digest-pwgen-2.03
deleted file mode 100644
index e1b14250f17d..000000000000
--- a/app-admin/pwgen/files/digest-pwgen-2.03
+++ /dev/null
@@ -1 +0,0 @@
-MD5 1a73657a0a10f3c3d00933036369e702 pwgen-2.03.tar.gz 23367
diff --git a/app-admin/pwgen/files/pwgen.rc b/app-admin/pwgen/files/pwgen.rc
new file mode 100644
index 000000000000..86a786220504
--- /dev/null
+++ b/app-admin/pwgen/files/pwgen.rc
@@ -0,0 +1,19 @@
+#!/sbin/runscript
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/pwgen/files/pwgen.rc,v 1.1 2004/06/17 19:37:19 wolf31o2 Exp $
+
+depend() {
+ before local
+}
+
+start() {
+ ebegin "Auto-scrambling root password for security"
+ echo root:\`pwgen -s 16\` | chpasswd > /dev/null 2>&1
+ eend $? "Failed to start local."
+}
+
+stop() {
+ ebegin "Stopping local"
+ eend $? "Failed to stop local."
+}