Subversion Repositories livecd

Rev

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

Rev 137 Rev 138
Line 69... Line 69...
69
 
69
 
70
### -----------------------------------------------------------
70
### -----------------------------------------------------------
71
### Configure services
71
### Configure services
72
### -----------------------------------------------------------
72
### -----------------------------------------------------------
73
 
73
 
74
### save status of services that may be disabled, if LiveCD mounted over NFS
74
### save status of services that may be disabled, 
-
 
75
#   if LiveCD mounted over NFS
75
if [ $NFSROOT ]; then
76
if [ $NFSROOT ]; then
76
    NFS_SERVICES="rpcidmapd NetworkManager NetworkManagerDispatcher \
77
    NFS_SERVICES="rpcidmapd NetworkManager NetworkManagerDispatcher \
77
                  netfs nfslock portmap network"
78
                  netfs nfslock portmap network"
78
    for serv in $NFS_SERVICES; do
79
    for serv in $NFS_SERVICES; do
79
	chkconfig --list $serv | grep -q ":on" && echo $serv >> /$MOUNTDIR/service.on
80
	chkconfig --list $serv | grep -q ":on" && echo $serv >> /$MOUNTDIR/service.on
Line 115... Line 116...
115
### enable AFS during start up, if given by boot parameter
116
### enable AFS during start up, if given by boot parameter
116
if [ $AFS ]; then
117
if [ $AFS ]; then
117
    chkconfig afs on
118
    chkconfig afs on
118
fi
119
fi
119
 
120
 
120
### disable auto-kudzu
121
### disable auto-kudzu ?
121
if [ $NOKUDZU ]; then
122
if [ $NOKUDZU ]; then
122
    chkconfig kudzu-auto off
123
    chkconfig kudzu-auto off
123
fi
124
fi
124
 
125
 
125
### disable some services for fast booting
126
### disable some services for fast booting
Line 135... Line 136...
135
    chkconfig messagebus off      2>/dev/null
136
    chkconfig messagebus off      2>/dev/null
136
    chkconfig avahi-daemon off    2>/dev/null
137
    chkconfig avahi-daemon off    2>/dev/null
137
    chkconfig kudzu-auto off      2>/dev/null
138
    chkconfig kudzu-auto off      2>/dev/null
138
fi
139
fi
139
 
140
 
140
### enable ntpd?
141
### enable ntpd ?
141
if [ $NTPD ]; then
142
if [ $NTPD ]; then
142
    chkconfig ntpd on
143
    chkconfig ntpd on
143
fi
144
fi
144
 
145
 
145
### enable SSH server during start up, if given by boot parameter
146
### enable SSH server during start up, if given by boot parameter