Subversion Repositories livecd

Rev

Rev 125 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 125 Rev 128
Line 86... Line 86...
86
        # "network off" is only necessary, 
86
        # "network off" is only necessary, 
87
        # if PXE/TFTP and NTS server is on same machine
87
        # if PXE/TFTP and NTS server is on same machine
88
	chkconfig network off
88
	chkconfig network off
89
    fi
89
    fi
90
 
90
 
91
    rm -f /etc/rc.d/rc6.d/K75netfs
91
    rm -f /etc/rc.d/rc6.d/K*netfs
92
    rm -f /etc/rc.d/rc6.d/K86nfslock
92
    rm -f /etc/rc.d/rc6.d/K*nfslock
93
    rm -f /etc/rc.d/rc6.d/K87portmap
93
    rm -f /etc/rc.d/rc6.d/K*portmap
94
    rm -f /etc/rc.d/rc6.d/K90network
94
    rm -f /etc/rc.d/rc6.d/K*network
95
 
95
 
96
    rm -f /etc/rc.d/rc0.d/K75netfs
96
    rm -f /etc/rc.d/rc0.d/K*netfs
97
    rm -f /etc/rc.d/rc0.d/K86nfslock
97
    rm -f /etc/rc.d/rc0.d/K*nfslock
98
    rm -f /etc/rc.d/rc0.d/K87portmap
98
    rm -f /etc/rc.d/rc0.d/K*portmap
99
    rm -f /etc/rc.d/rc0.d/K90network
99
    rm -f /etc/rc.d/rc0.d/K*network
100
fi
100
fi
101
 
101
 
102
### enable AFS during start up, if given by boot parameter
102
### enable AFS during start up, if given by boot parameter
103
if [ $AFS ]; then
103
if [ $AFS ]; then
104
    chkconfig afs on
104
    chkconfig afs on
105
fi
105
fi
106
 
106
 
107
### disable some services for fast booting
107
### disable some services for fast booting
108
if [ $FASTBOOT ]; then    
108
if [ $FASTBOOT ]; then    
109
    echo "Fast booting enabled"
109
    echo "Fast booting enabled"
110
    chkconfig vpnclient_init off
110
    chkconfig vpnclient_init off  2>/dev/null
111
    chkconfig haldaemon off
111
    chkconfig haldaemon off       2>/dev/null
112
    chkconfig pcmcia off
112
    chkconfig pcmcia off          2>/dev/null
113
    chkconfig ntpd off
113
    chkconfig ntpd off            2>/dev/null
114
    chkconfig atd off
114
    chkconfig atd off             2>/dev/null
115
    chkconfig cpuspeed off
115
    chkconfig cpuspeed off        2>/dev/null
116
    chkconfig gpm off
116
    chkconfig gpm off             2>/dev/null
117
    chkconfig messagebus off
117
    chkconfig messagebus off      2>/dev/null
118
    rm -rf /etc/rc.d/rc3.d/S04kudzu-auto
-
 
119
    rm -rf /etc/rc.d/rc5.d/S04kudzu-auto
118
    chkconfig kudzu-auto off      2>/dev/null
120
fi
119
fi
121
 
120
 
122
### enable ntpd?
121
### enable ntpd?
123
if [ $NTPD ]; then
122
if [ $NTPD ]; then
124
    chkconfig ntpd on
123
    chkconfig ntpd on
Line 198... Line 197...
198
fi
197
fi
199
 
198
 
200
### fix perm of /tmp
199
### fix perm of /tmp
201
chmod 1777 /tmp
200
chmod 1777 /tmp
202
 
201
 
203
### link /opt -> /usr/opt ! 
-
 
204
[ ! -e /opt ] && ln -s /usr/opt /opt
-
 
205
 
-
 
206
### create home
202
### create home
207
mkdir -p /home
203
mkdir -p /home
208
 
204
 
209
### create /scratch
205
### create /scratch
210
mkdir -p /scratch
206
mkdir -p /scratch