165 |
echo "${systemtype}" |
echo "${systemtype}" |
166 |
} |
} |
167 |
|
|
168 |
|
intel_framebuffer_quirk_required() |
169 |
|
{ |
170 |
|
local retval=0 |
171 |
|
local fbdev |
172 |
|
|
173 |
|
if [[ -e /proc/fb ]] |
174 |
|
then |
175 |
|
if [[ ! -z $(grep 'inteldrmfb' /proc/fb) ]] |
176 |
|
then |
177 |
|
fbdev=$(grep 'inteldrmfb' /proc/fb | sed 's:\([0-9]\).*:\1:') |
178 |
|
if [[ ${fbdev} != 0 ]] |
179 |
|
then |
180 |
|
retval="${fbdev}" |
181 |
|
fi |
182 |
|
fi |
183 |
|
fi |
184 |
|
|
185 |
|
echo "${retval}" |
186 |
|
} |
187 |
|
|
188 |
# debug |
# debug |
189 |
#echo "LAN: $(get_netcard_driver_modules eth0)" |
#echo "LAN: $(get_netcard_driver_modules eth0)" |
190 |
#echo "WLAN: $(get_wlan_driver_modules wlan0)" |
#echo "WLAN: $(get_wlan_driver_modules wlan0)" |
197 |
vga) get_x11_driver_modules ;; |
vga) get_x11_driver_modules ;; |
198 |
console) get_drm_driver_modules ;; |
console) get_drm_driver_modules ;; |
199 |
system) get_system_type ;; |
system) get_system_type ;; |
200 |
|
intel-fb-quirk) intel_framebuffer_quirk_required ;; |
201 |
esac |
esac |