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.

17 lines
747 B

  1. echo "router target -> disabling some settings ..."
  2. sed -e "s/CONFIG_VIDEO\(.*\)=./# CONFIG_VIDEO\1 is not set/" \
  3. -e "s/CONFIG_PHONE\(.*\)=./# CONFIG_PHONE\1 is not set/" \
  4. -e "s/CONFIG_RADIO\(.*\)=./# CONFIG_RADIO\1 is not set/" \
  5. -e "s/CONFIG_HAMRADIO\(.*\)=./# CONFIG_HAMRADIO\1 is not set/" \
  6. -e "s/CONFIG_SMP\(.*\)=./# CONFIG_SMP\1 is not set/" \
  7. -e "s/CONFIG_SOUND_\(.*\)=./# CONFIG_SOUND_\1 is not set/" \
  8. -e "s/CONFIG_PCI_NAMES\(.*\)=./# CONFIG_PCI_NAMES\1 is not set/" \
  9. -e "s/CONFIG_INPUT\(.*\)=./# CONFIG_INPUT\1 is not set/" \
  10. -e "s/CONFIG_GAMEPORT\(.*\)=./# CONFIG_GAMEPORT\1 is not set/" \
  11. -e "s/CONFIG_SCSI\(.*\)=./# CONFIG_SCSI\1 is not set/" \
  12. $1 > .config.router
  13. mv .config.router $1