mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
552 B

  1. # here we disable driver we'll most probably not need on the bootdisk
  2. echo "bootdisk target -> disabling some modules ..."
  3. sed -e "s/CONFIG_SOUND\(.*\)=./# CONFIG_SOUND\1 is not set/" \
  4. -e "s/CONFIG_VIDEO\(.*\)=./# CONFIG_VIDEO\1 is not set/" \
  5. -e "s/CONFIG_PHONE\(.*\)=./# CONFIG_PHONE\1 is not set/" \
  6. -e "s/CONFIG_RADIO\(.*\)=./# CONFIG_RADIO\1 is not set/" \
  7. -e "s/CONFIG_HAMRADIO\(.*\)=./# CONFIG_HAMRADIO\1 is not set/" \
  8. -e "s/CONFIG_ATM\(.*\)=./# CONFIG_ATM\1 is not set/" \
  9. $1 > .config.server
  10. mv .config.server $1