Subversion Repositories livecd

Rev

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

Rev 273 Rev 274
Line 289... Line 289...
289
mount -t tmpfs tmp /tmp
289
mount -t tmpfs tmp /tmp
290
mount -t tmpfs vartmp /var/tmp
290
mount -t tmpfs vartmp /var/tmp
291
[ -x /sbin/restorecon ] && /sbin/restorecon /var/cache/yum /tmp /var/tmp >/dev/null 2>&1
291
[ -x /sbin/restorecon ] && /sbin/restorecon /var/cache/yum /tmp /var/tmp >/dev/null 2>&1
292
 
292
 
293
# turn off services, which are not useful on LiveCD, to preserve resources
293
# turn off services, which are not useful on LiveCD, to preserve resources
294
if [ "\\\$SERVICE_OFF" ]; then
294
if [ "\\\$SERVICES_OFF" ]; then
295
    for service in \\\$SERVICE_OFF ; do
295
    for service in \\\$SERVICES_OFF ; do
296
        [ -f /etc/init.d/\\\$service ] && chkconfig \\\$service off 2>/dev/null
296
        [ -f /etc/init.d/\\\$service ] && chkconfig \\\$service off 2>/dev/null
297
    done
297
    done
298
fi
298
fi
299
 
299
 
300
# services off, from command line paramter
300
# services off, from command line paramter