|
|
@ -1,9 +1,9 @@
|
|
|
|
#!/bin/ash
|
|
|
|
#!/bin/ash
|
|
|
|
|
|
|
|
|
|
|
|
PATH=/usr/sbin:/usr/bin:/sbin:/bin
|
|
|
|
PATH="/usr/sbin:/usr/bin:/sbin:/bin"
|
|
|
|
|
|
|
|
|
|
|
|
# Default to the udev device manager
|
|
|
|
# Default to the udev device manager
|
|
|
|
USE_UDEV_NORMAL=1
|
|
|
|
USE_UDEV_NORMAL='1'
|
|
|
|
|
|
|
|
|
|
|
|
# Insert ctrl character
|
|
|
|
# Insert ctrl character
|
|
|
|
# ctrl-V then esc will print ^[
|
|
|
|
# ctrl-V then esc will print ^[
|
|
|
@ -15,7 +15,6 @@ BAD="\033[31;1m"
|
|
|
|
BOLD="\033[1m"
|
|
|
|
BOLD="\033[1m"
|
|
|
|
GOOD="\033[32;1m"
|
|
|
|
GOOD="\033[32;1m"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# From KNOPPIX LINUXRC
|
|
|
|
# From KNOPPIX LINUXRC
|
|
|
|
# Reset fb color mode
|
|
|
|
# Reset fb color mode
|
|
|
|
RESET="]R"
|
|
|
|
RESET="]R"
|
|
|
@ -48,7 +47,7 @@ WHITE="[1;37m"
|
|
|
|
# Just go to the top of the screen
|
|
|
|
# Just go to the top of the screen
|
|
|
|
# echo -n "[H[J"
|
|
|
|
# echo -n "[H[J"
|
|
|
|
|
|
|
|
|
|
|
|
KV="`uname -r`"
|
|
|
|
KV=`uname -r`
|
|
|
|
KMAJOR=`echo $KV | cut -f1 -d.`
|
|
|
|
KMAJOR=`echo $KV | cut -f1 -d.`
|
|
|
|
KMINOR=`echo $KV | cut -f2 -d.`
|
|
|
|
KMINOR=`echo $KV | cut -f2 -d.`
|
|
|
|
KVER="${KMAJOR}.${KMINOR}"
|
|
|
|
KVER="${KMAJOR}.${KMINOR}"
|
|
|
@ -59,7 +58,7 @@ then
|
|
|
|
KV_2_6_OR_GREATER="yes"
|
|
|
|
KV_2_6_OR_GREATER="yes"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
QUIET=1
|
|
|
|
QUIET='1'
|
|
|
|
ROOT_LINKS='bin sbin lib lib32 lib64 boot usr opt emul'
|
|
|
|
ROOT_LINKS='bin sbin lib lib32 lib64 boot usr opt emul'
|
|
|
|
ROOT_TREES='etc root home var'
|
|
|
|
ROOT_TREES='etc root home var'
|
|
|
|
INSMOD='insmod'
|
|
|
|
INSMOD='insmod'
|
|
|
@ -71,11 +70,13 @@ else
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
REAL_ROOT=''
|
|
|
|
REAL_ROOT=''
|
|
|
|
CDROOT=0
|
|
|
|
CDROOT='0'
|
|
|
|
CDROOT_DEV=''
|
|
|
|
CDROOT_DEV=''
|
|
|
|
CDROOT_TYPE='auto'
|
|
|
|
CDROOT_TYPE='auto'
|
|
|
|
NEW_ROOT="/newroot"
|
|
|
|
NEW_ROOT='/newroot'
|
|
|
|
CONSOLE="/dev/console"
|
|
|
|
CONSOLE='/dev/console'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LOOPS='/livecd.loop /zisofs /livecd.squashfs /image.squashfs /livecd.gcloop'
|
|
|
|
|
|
|
|
|
|
|
|
# Only sections that are in by default or those that
|
|
|
|
# Only sections that are in by default or those that
|
|
|
|
# are not module groups need to be defined here...
|
|
|
|
# are not module groups need to be defined here...
|
|
|
|