Subversion Repositories livecd

Rev

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

Rev 273 Rev 274
Line 309... Line 309...
309
mount -t tmpfs tmp /tmp
309
mount -t tmpfs tmp /tmp
310
mount -t tmpfs vartmp /var/tmp
310
mount -t tmpfs vartmp /var/tmp
311
[ -x /sbin/restorecon ] && /sbin/restorecon /var/cache/yum /tmp /var/tmp >/dev/null 2>&1
311
[ -x /sbin/restorecon ] && /sbin/restorecon /var/cache/yum /tmp /var/tmp >/dev/null 2>&1
312
 
312
 
313
# turn off services, which are not useful on LiveCD, to preserve resources
313
# turn off services, which are not useful on LiveCD, to preserve resources
314
if [ "\\\$SERVICE_OFF" ]; then
314
if [ "\\\$SERVICES_OFF" ]; then
315
    for service in \\\$SERVICE_OFF ; do
315
    for service in \\\$SERVICES_OFF ; do
316
        [ -f /etc/init.d/\\\$service ] && chkconfig \\\$service off 2>/dev/null
316
        [ -f /etc/init.d/\\\$service ] && chkconfig \\\$service off 2>/dev/null
317
    done
317
    done
318
fi
318
fi
319
 
319
 
320
# services off, from command line paramter
320
# services off, from command line paramter