3 PATH="/usr/sbin:/usr/bin:/sbin:/bin"
5 # Insert ctrl character
6 # ctrl-V then esc will print ^[
7 # ctrl-V then ctrl-shift-m will print ^M
8 BACK_UP="\033[1K\033[0G"
15 # From KNOPPIX LINUXRC
19 # Erase to end of line
22 # Clear and reset Screen
26 # RED: Failure or error message
28 # GREEN: Success message
30 # YELLOW: Descriptions
32 # BLUE: System mesages
34 # MAGENTA: Found devices or drivers
41 # Clear screen with colormode reset
44 # Just go to the top of the screen
48 KMAJOR=`echo $KV | cut -f1 -d.`
49 KMINOR=`echo $KV | cut -f2 -d.`
50 KVER="${KMAJOR}.${KMINOR}"
51 MISCOPTS='debug detect'
53 if [ "${KMAJOR}" -ge 3 ] || [ "${KMAJOR}" -eq 2 -a "${KMINOR}" -eq '6' ]
55 KV_2_6_OR_GREATER="yes"
59 ROOT_LINKS='bin sbin lib lib32 lib64 boot usr opt emul'
60 ROOT_TREES='etc root home var'
62 if [ "${KMAJOR}" -ge 3 ] || [ "${KMAJOR}" -eq 2 -a "${KMINOR}" -gt '4' ]
74 CDROOT_PATH='/mnt/cdrom'
75 CONSOLE='/dev/console'
77 LOOPS='/livecd.loop /zisofs /livecd.squashfs /image.squashfs /livecd.gcloop'
79 DEFAULT_NFSOPTIONS="ro,nolock,rsize=1024,wsize=1024"
81 # Only sections that are in by default or those that
82 # are not module groups need to be defined here...
83 HWOPTS='keymap cache modules pata sata scsi usb firewire waitscan slowusb lvm dmraid mdadm fs net'
84 MY_HWOPTS='modules pata sata scsi slowusb usb firewire waitscan dmraid mdadm fs net iscsi'