wok diff hardware-thinkpad-600e/receipt @ rev 19305

ppp, dropbear: filter CONFIG_FILES
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 10 12:10:59 2016 +0200 (2016-07-10)
parents 7bb096863642
children
line diff
     1.1 --- a/hardware-thinkpad-600e/receipt	Sat Sep 14 17:06:00 2013 +0000
     1.2 +++ b/hardware-thinkpad-600e/receipt	Sun Jul 10 12:10:59 2016 +0200
     1.3 @@ -20,8 +20,8 @@
     1.4  post_install()
     1.5  {
     1.6  	for i in thinkpad_acpi snd_cs46xx yenta_socket ; do
     1.7 -		grep -q $i $1/etc/rcS.conf ||
     1.8 -		sed -i "s/LOAD_MODULES=\"/&$i /" $i $1/etc/rcS.conf
     1.9 +		grep -q $i "$1/etc/rcS.conf" ||
    1.10 +		sed -i "s/LOAD_MODULES=\"/&$i /" $i "$1/etc/rcS.conf"
    1.11  		[ -n "$1" ] || modprobe $i
    1.12  	done
    1.13  	# FIXME update /etc/modprobe.d/ ?
    1.14 @@ -29,9 +29,9 @@
    1.15  	# modprobe snd-cs4232 port=0x530 cport=0x120 irq=5 dma1=1 dma2=0 isapnp=0
    1.16  	
    1.17  	# Video: remove 24bits (use 1024x768x16), neomagic driver
    1.18 -	sed -i 's/vesa/neomagic/;/Display/{NNN/24$/d}' $1/etc/X11/xorg.conf
    1.19 -	sed -i '/Display/{NNNN/24$/d}' $1/etc/X11/xorg.conf.d/70-Screen.conf
    1.20 -	sed -i 's/vesa/neomagic/'  $1/etc/X11/xorg.conf.d/60-Device.conf
    1.21 +	sed -i 's/vesa/neomagic/;/Display/{NNN/24$/d}' "$1/etc/X11/xorg.conf"
    1.22 +	sed -i '/Display/{NNNN/24$/d}' "$1/etc/X11/xorg.conf.d/70-Screen.conf"
    1.23 +	sed -i 's/vesa/neomagic/'  "$1/etc/X11/xorg.conf.d/60-Device.conf"
    1.24  	cat <<EOT
    1.25  Please turn off quickboot in the bios to activate sound card...
    1.26  EOT