#!/bin/ash PATH="/usr/sbin:/usr/bin:/sbin:/bin" # 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" # Sets the default collation order LC_COLLATE=C # 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 # printf "" KV=`uname -r` KMAJOR=`echo $KV | cut -f1 -d.` KMINOR=`echo $KV | cut -f2 -d.` KVER="${KMAJOR}.${KMINOR}" MISCOPTS='debug detect' QUIET='1' ROOT_LINKS='bin sbin lib lib32 lib64 boot usr opt emul' ROOT_TREES='etc root home var' REAL_ROOT='' CONSOLE='/dev/console' NEW_ROOT='/newroot' no_umounts='/newroot|/mnt/aufs-dev|/mnt/aufs-rw-branch|/mnt/livecd|/mnt/cdrom|/.unions/memory|/.unions/memory/xino' ROOTDELAY=1 CDROOT='0' CDROOT_DEV='' CDROOT_TYPE='auto' CDROOT_PATH='/mnt/cdrom' # This is the file that the cdroot will be checked for as a # marker. It must exist RELATIVE to the cdroot. CDROOT_MARKER='/livecd' VERIFY=0 # AUFS variables aufs=0 aufs_union_file=/livecd.aufs aufs_modules_dir=mnt/cdrom # Overlayfs variables overlayfs=0 overlayfs_modules_dir=mnt/cdrom LOOPS='/livecd.loop /zisofs /livecd.squashfs /image.squashfs /livecd.gcloop' DEFAULT_NFSOPTIONS="ro,nolock,rsize=1024,wsize=1024" # HWOPTS is the list of ALL options that take do/no prefixes, almost all of # which match a MODULES_* variable; it is ALSO the order of evaluation. # # The following entries are special behavior, rather than module loading # - keymap # - cache # - modules HWOPTS_BLK='nvme pata sata scsi usb firewire waitscan' HWOPTS_OBSOLETE='pcmcia ataraid' # Obsolete stuff that might be useful on old hardware, do$X only. HWOPTS="keymap cache modules virtio ${HWOPTS_BLK} lvm dmraid multipath mdadm zfs fs net iscsi crypto" # This is the set of default HWOPTS, in the order that they are loaded. # This is whitespace aligned with HWOPTS above. MY_HWOPTS=" modules virtio ${HWOPTS_BLK} lvm dmraid mdadm fs net crypto"