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.
30 lines
545 B
30 lines
545 B
21 years ago
|
#!/bin/ash
|
||
|
PATH=/usr/sbin:/usr/bin:/sbin:/bin
|
||
|
BACK_UP="\033[1K\033[0G"
|
||
|
HILITE="\033[1m"
|
||
|
NORMAL="\033[0m"
|
||
|
WARN="\033[1m"
|
||
|
BAD="\033[1m"
|
||
|
KV="`uname -r`"
|
||
|
KMAJOR=`echo $KV | cut -f1 -d.`
|
||
|
KMINOR=`echo $KV | cut -f2 -d.`
|
||
|
KVER="${KMAJOR}.${KMINOR}"
|
||
|
MISCOPTS="cdcache idebug detect"
|
||
|
HWOPTS="scsi firewire ataraid pcmcia usb"
|
||
21 years ago
|
MY_HWOPTS="usb firewire"
|
||
21 years ago
|
QUIET=1
|
||
|
ROOT_LINKS="bin sbin lib lib64 boot usr opt"
|
||
|
ROOT_TREES="etc root home var"
|
||
|
if [ "$KMVER" = "2.6" ]
|
||
|
then
|
||
|
KSUFF=".ko"
|
||
21 years ago
|
INSMOD="insmod"
|
||
21 years ago
|
else
|
||
|
KSUFF=".o"
|
||
|
INSMOD="insmod"
|
||
|
fi
|
||
|
REAL_ROOT=""
|
||
|
CDROOT=0
|
||
|
|
||
|
|