Subversion Repositories livecd

Rev

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

Rev 273 Rev 274
Line 276... Line 276...
276
mount -t tmpfs tmp /tmp
276
mount -t tmpfs tmp /tmp
277
mount -t tmpfs vartmp /var/tmp
277
mount -t tmpfs vartmp /var/tmp
278
[ -x /sbin/restorecon ] && /sbin/restorecon /var/cache/yum /tmp /var/tmp >/dev/null 2>&1
278
[ -x /sbin/restorecon ] && /sbin/restorecon /var/cache/yum /tmp /var/tmp >/dev/null 2>&1
279
 
279
 
280
# turn off services, which are not useful on LiveCD, to preserve resources
280
# turn off services, which are not useful on LiveCD, to preserve resources
281
if [ "\\\$SERVICE_OFF" ]; then
281
if [ "\\\$SERVICES_OFF" ]; then
282
    for service in \\\$SERVICE_OFF ; do
282
    for service in \\\$SERVICES_OFF ; do
283
        [ -f /etc/init.d/\\\$service ] && chkconfig \\\$service off 2>/dev/null
283
        [ -f /etc/init.d/\\\$service ] && chkconfig \\\$service off 2>/dev/null
284
    done
284
    done
285
fi
285
fi
286
 
286
 
287
# services off, from command line paramter
287
# services off, from command line paramter