Subversion Repositories livecd

Rev

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

Rev 32 Rev 33
Line 42... Line 42...
42
           /etc/sysconfig/afs \
42
           /etc/sysconfig/afs \
43
           /etc/motd \
43
           /etc/motd \
44
           /etc/redhat-release \
44
           /etc/redhat-release \
45
	   /etc/rc.d/rc.local"
45
	   /etc/rc.d/rc.local"
46
 
46
 
-
 
47
# LiveCD init scripts will be removed
47
LIVECD_INIT_SCRIPTS="runfirst \
48
LIVECD_INIT_SCRIPTS="runfirst \
48
                    runveryfirst \
49
                    runveryfirst \
49
                    runlast \
50
                    runlast \
50
                    kudzu-auto"
51
                    kudzu-auto \
-
 
52
                    login"
51
 
53
 
52
# Main directories which should be not be copied
54
# Main directories which should be not be copied
53
DIR_NOT_COPY="/proc \
55
DIR_NOT_COPY="/proc \
54
              /dev \
56
              /dev \
55
              /livecd \
57
              /livecd \
Line 573... Line 575...
573
 
575
 
574
 
576
 
575
### remove LiveCD init.d scripts
577
### remove LiveCD init.d scripts
576
### -----------------------------------------------------------
578
### -----------------------------------------------------------
577
for file in $LIVECD_INIT_SCRIPTS; do
579
for file in $LIVECD_INIT_SCRIPTS; do
578
    rm -f $NEW/etc/init.d/$file
580
    rm -f $NEW/etc/rc.d/init.d/$file
579
    for n in 0 1 2 3 4 5 6; do
581
    for n in 0 1 2 3 4 5 6; do
580
	rm -f $NEW/etc/rc.d/rc${n}.d/*$file
582
	rm -f $NEW/etc/rc.d/rc${n}.d/*$file
581
    done
583
    done
582
done
584
done
583
 
585