Subversion Repositories livecd

Rev

Rev 81 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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