adding in the all important livecd local rcscript
authorJohn P. Davis <zhen@gentoo.org>
Wed, 12 May 2004 21:19:34 +0000 (21:19 +0000)
committerJohn P. Davis <zhen@gentoo.org>
Wed, 12 May 2004 21:19:34 +0000 (21:19 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@369 d1e1f19c-881f-0410-ab34-b69fee027534

livecd/files/livecd-rclocal [new file with mode: 0644]

diff --git a/livecd/files/livecd-rclocal b/livecd/files/livecd-rclocal
new file mode 100644 (file)
index 0000000..56f2ae9
--- /dev/null
@@ -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/src/catalyst/livecd/files/Attic/livecd-rclocal,v 1.1 2004/05/12 21:19:34 zhen Exp $
+
+depend() {
+       after *
+}
+
+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."
+}