mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

52 lines
1.8 KiB

#!/bin/bash
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/target/lvp/x86/initrd/linuxrc
# ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
mount -n -t proc proc /proc
mount -n -t tmpfs tmpfs /tmp
mount -n -t sysfs sys /sys
ttydevs="vc/2 vc/3"
for x in ${ttydevs} ; do
( ( while : ; do agetty -i 38400 ${x} -n -l /bin/login-shell ; done ) & )
done
mount -n -t ramfs devfs /dev
/bin/keymap
/bin/hardware
/bin/kernel
exec < /dev/console > /dev/console 2> /dev/console ; cd /
echo " _ __ __ __ __ _ ______"
echo "| | / /__ / /________ ____ ___ ___ / /_____ / /| | / / __ \\"
echo "| | /| / / _ \/ / ___/ __ \/ __ \`__ \/ _ \ / __/ __ \ / / | | / / /_/ /"
echo "| |/ |/ / __/ / /__/ /_/ / / / / / / __/ / /_/ /_/ / / /__| |/ / ____/"
echo "|__/|__/\___/_/\___/\____/_/ /_/ /_/\___/ \__/\____/ /_____/___/_/"
echo ""
echo "A lot of fun wishes:"
echo "The LVP Team:"
echo " -Benjamin 'blindcoder' Schieder"
agetty -i 38400 vc/1 -n -l /bin/linuxrc2