From: John P. Davis Date: Wed, 12 May 2004 21:19:34 +0000 (+0000) Subject: adding in the all important livecd local rcscript X-Git-Tag: CATALYST_2_0_6_916~1004 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4df25a18e0dfb1f52c629cb27e828db42991bf1c;p=catalyst.git adding in the all important livecd local rcscript git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@369 d1e1f19c-881f-0410-ab34-b69fee027534 --- diff --git a/livecd/files/livecd-rclocal b/livecd/files/livecd-rclocal new file mode 100644 index 00000000..56f2ae90 --- /dev/null +++ b/livecd/files/livecd-rclocal @@ -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." +}