Subversion Repositories livecd

Rev

Rev 83 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 83 Rev 84
Line 95... Line 95...
95
	done
95
	done
96
    done
96
    done
97
fi
97
fi
98
 
98
 
99
 
99
 
100
### activate ipw3945d daemon, if we have Intel IPW3945 WLAN 
-
 
101
lspci | grep -q Intel.*3945ABG
-
 
102
if [ "$?" = "0" ]; then
-
 
103
    chkconfig ipw3945d on 2>/dev/null
-
 
104
    /etc/init.d/ipw3945d start >/dev/null 2>&1 &
-
 
105
fi
-
 
106
 
-
 
107
### activate Atheros WLAN
100
### activate Atheros WLAN
108
lspci | grep -q Ethernet.*Atheros
101
lspci | grep -q Ethernet.*Atheros
109
if [ "$?" = "0" ]; then
102
if [ "$?" = "0" ]; then
110
    # bring ath0 up
103
    # bring ath0 up
111
    ifconfig ath0 up > /dev/null 2>&1
104
    ifconfig ath0 up > /dev/null 2>&1
Line 134... Line 127...
134
	    sed -i "s/ONBOOT=.*/ONBOOT=no/" $file
127
	    sed -i "s/ONBOOT=.*/ONBOOT=no/" $file
135
	fi
128
	fi
136
    done
129
    done
137
fi
130
fi
138
 
131
 
139
    
-
 
140
### enable 915resolution on Intel Mobile Display controller
-
 
141
lspci | grep -q Display.*Intel.*Mobile
-
 
142
if [ "$?" = "0" ]; then 
-
 
143
    chkconfig 915resolution on
-
 
144
    /etc/init.d/915resolution start >/dev/null 2>&1 &
-
 
145
fi
-
 
146
    
-