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.
genkernel_fork/generic/initrd.defaults

83 lines
1.5 KiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

#!/bin/ash
PATH=/usr/sbin:/usr/bin:/sbin:/bin
# Default to the udev device manager
USE_UDEV_NORMAL=1
# Insert ctrl character
# ctrl-V then esc will print ^[
# ctrl-V then ctrl-shift-m will print ^M
BACK_UP="\033[1K\033[0G"
NORMAL="\033[0m"
WARN="\033[33;1m"
BAD="\033[31;1m"
BOLD="\033[1m"
GOOD="\033[32;1m"
# From KNOPPIX LINUXRC
# Reset fb color mode
RESET="]R"
# ANSI COLORS
# Erase to end of line
CRE="
"
# Clear and reset Screen
CLEAR="c"
# Normal color
NORMAL=""
# RED: Failure or error message
RED=""
# GREEN: Success message
GREEN=""
# YELLOW: Descriptions
YELLOW=""
# BLUE: System mesages
BLUE=""
# MAGENTA: Found devices or drivers
MAGENTA=""
# CYAN: Questions
CYAN=""
# BOLD WHITE: Hint
WHITE=""
# Clear screen with colormode reset
# echo "$CLEAR$RESET"
# echo "$CLEAR"
# Just go to the top of the screen
# echo -n ""
KV="`uname -r`"
KMAJOR=`echo $KV | cut -f1 -d.`
KMINOR=`echo $KV | cut -f2 -d.`
KVER="${KMAJOR}.${KMINOR}"
MISCOPTS='idebug detect'
if [ "${KMAJOR}" -eq 2 -a "${KMINOR}" -ge '6' ]
then
KV_2_6_OR_GREATER="yes"
fi
QUIET=1
ROOT_LINKS='bin sbin lib lib32 lib64 boot usr opt'
ROOT_TREES='etc root home var'
INSMOD='insmod'
if [ "${KMINOR}" -gt '4' ]
then
KSUFF='.ko'
else
KSUFF='.o'
fi
REAL_ROOT=''
CDROOT=0
CDROOT_DEV=''
NEW_ROOT="/newroot"
CONSOLE="/dev/console"
# Only sections that are in by default or those that
# are not module groups need to be defined here...
HWOPTS='usb firewire keymap cache evms2 sata lvm2 dmraid bladecenter'
MY_HWOPTS='usb firewire sata dmraid'