Subversion Repositories livecd

Rev

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

Rev 273 Rev 274
Line 192... Line 192...
192
mount -t tmpfs tmp /tmp
192
mount -t tmpfs tmp /tmp
193
mount -t tmpfs vartmp /var/tmp
193
mount -t tmpfs vartmp /var/tmp
194
[ -x /sbin/restorecon ] && /sbin/restorecon /var/cache/yum /tmp /var/tmp >/dev/null 2>&1
194
[ -x /sbin/restorecon ] && /sbin/restorecon /var/cache/yum /tmp /var/tmp >/dev/null 2>&1
195
 
195
 
196
# turn off services, which are not useful on LiveCD, to preserve resources
196
# turn off services, which are not useful on LiveCD, to preserve resources
197
if [ "\\\$SERVICE_OFF" ]; then
197
if [ "\\\$SERVICES_OFF" ]; then
198
    for service in \\\$SERVICE_OFF ; do
198
    for service in \\\$SERVICES_OFF ; do
199
        [ -f /etc/init.d/\\\$service ] && chkconfig \\\$service off 2>/dev/null
199
        [ -f /etc/init.d/\\\$service ] && chkconfig \\\$service off 2>/dev/null
200
    done
200
    done
201
fi
201
fi
202
 
202
 
203
# services off, from command line paramter
203
# services off, from command line paramter