Changeset 534

Show
Ignore:
Timestamp:
05/16/08 17:09:26 (4 months ago)
Author:
free
Message:

Run depmod at the first boot

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • cdd-utils/trunk/lib/suites.sh

    r533 r534  
    5454    cdd-config ardourino 
    5555    cdd-config alsa blacklist snd_pcsp 
    56     cdd-config wireless 
     56    cdd-config firstboot depmod 
    5757    cdd-config qjackctl 
    5858    cdd-config services cupsys avahi-daemon 
  • cdd-utils/trunk/lib/system.sh

    r529 r534  
    192192 
    193193# Fixed broken linux-rt restricted modules (hardy) 
    194 wireless () { 
    195     depmod 2.6.24-16-rt 
     194firstboot () { 
     195 
     196    cmd=$1 
     197    cfg=/etc/init.d/first-boot 
     198    if nullstr $cmd; then warning "no cmd given"; return; fi 
     199 
     200    cat <<EOF > $cfg 
     201#!/bin/sh 
     202 
     203$cmd 
     204 
     205update-rc.d -f first-boot remove 
     206EOF 
     207    chmod 755 $cfg 
     208    update-rc.d -f first-boot defaults 
     209 
    196210} 
    197211