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.
 
 
 
 
 
 

20 lines
937 B

echo "livecd target -> disabling some settings ..."
sed -e "s/CONFIG_VIDEO\(.*\)=./# CONFIG_VIDEO\1 is not set/" \
-e "s/CONFIG_PHONE\(.*\)=./# CONFIG_PHONE\1 is not set/" \
-e "s/CONFIG_RADIO\(.*\)=./# CONFIG_RADIO\1 is not set/" \
-e "s/CONFIG_HAMRADIO\(.*\)=./# CONFIG_HAMRADIO\1 is not set/" \
-e "s/CONFIG_ATM\(.*\)=./# CONFIG_ATM\1 is not set/" \
-e "s/CONFIG_SMP\(.*\)=./# CONFIG_SMP\1 is not set/" \
-e "s/CONFIG_SOUND_\(.*\)=./# CONFIG_SOUND_\1 is not set/" \
-e "s/CONFIG_PCI_NAMES\(.*\)=./# CONFIG_PCI_NAMES\1 is not set/" \
-e "s/CONFIG_INPUT_JOYDEV\(.*\)=./# CONFIG_INPUT_JOYDEV\1 is not set/" \
-e "s/CONFIG_GAMEPORT\(.*\)=./# CONFIG_GAMEPORT\1 is not set/" \
-e "s/CONFIG_IP_NF\(.*\)=./CONFIG_IP_NF\1=m/" \
-e "s/CONFIG_KALLSYMS=./# CONFIG_KALLSYMS is not set/" \
-e "s/CONFIG_IOSCHED_AS=./# CONFIG_IOSCHED_AS is not set/" \
$1 > .config.livecd
mv .config.livecd $1