Subversion Repositories livecd

Rev

Rev 209 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 209 Rev 241
Line 24... Line 24...
24
 
24
 
25
# amount of RAM to store changes
25
# amount of RAM to store changes
26
RAMSIZE="`cmdline_value ramsize`"
26
RAMSIZE="`cmdline_value ramsize`"
27
if [ "$RAMSIZE" = "" ]; then RAMSIZE="70%"; fi
27
if [ "$RAMSIZE" = "" ]; then RAMSIZE="70%"; fi
28
 
28
 
29
# I have to set these variables very carefully
29
# Set these variables very carefully
30
UNION=/union
30
UNION=/union
31
MEMORY=/memory
31
MEMORY=/memory
32
MOUNTDIR=livecd
32
MOUNTDIR=livecd
33
CHANGES=$MEMORY/SL53changes
33
CHANGES=$MEMORY/SL53changes
34
COPY2RAM=$MEMORY/copy2ram
34
COPY2RAM=$MEMORY/copy2ram
Line 36... Line 36...
36
INITRAMDISK=$MOUNTDIR/live
36
INITRAMDISK=$MOUNTDIR/live
37
 
37
 
38
# set NFSROOT and NFSOPTS 
38
# set NFSROOT and NFSOPTS 
39
NFSROOT="`cmdline_value nfsroot`"
39
NFSROOT="`cmdline_value nfsroot`"
40
NFSOPTS="`cmdline_value nfsopts`"
40
NFSOPTS="`cmdline_value nfsopts`"
41
if [ "$NFSOPTS" = "" ]; then
-
 
42
    NFSOPTS=nolock,ro,rsize=8192,wsize=8192,hard,intr
41
if [ "$NFSOPTS" = "" ]; then NFSOPTS="nolock,ro,rsize=8192,wsize=8192,hard,intr"; fi
43
fi
-
 
44
 
42
 
45
# set CIFSROOT and CIFSOPTS
43
# set CIFSROOT and CIFSOPTS
46
CIFSROOT="`cmdline_value cifsroot`"
44
CIFSROOT="`cmdline_value cifsroot`"
47
CIFSOPTS="`cmdline_value cifsopts`"
45
CIFSOPTS="`cmdline_value cifsopts`"
48
 
46
 
-
 
47
# set DHCPDELAY (in seconds)
-
 
48
DHCPDELAY="`cmdline_value dhcpdelay`"
-
 
49
if [ "$DHCPDELAY" = "" ]; then DHCPDELAY=8; fi
-
 
50
 
49
# we need cdrom support, isofs support, unionfs/aufs support, etc
51
# we need cdrom support, isofs support, unionfs/aufs support, etc
50
modprobe_essential_modules
52
modprobe_essential_modules
51
 
53
 
52
# disable DMA if nodma parameter is used
54
# disable DMA if nodma parameter is used
53
setup_dma
55
setup_dma