From 4df25a18e0dfb1f52c629cb27e828db42991bf1c Mon Sep 17 00:00:00 2001 From: "John P. Davis" Date: Wed, 12 May 2004 21:19:34 +0000 Subject: [PATCH] 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 --- livecd/files/livecd-rclocal | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 livecd/files/livecd-rclocal 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." +} -- 2.26.2