Debian Codegraph @

src/usr/lib/debian-installer.d/S34framebuffer-linux-sparc

raw
1 # Framebuffer is disabled by default on sparc; enable for known good cards
2
3 if ! grep -q "\(framebuffer\|fb\)=" /proc/cmdline; then
4 if [ -f /proc/fb ]; then
5 # Hack because direct grep on /proc/fb fails (#388815)
6 _FB="$(dd if=/proc/fb bs=16 2>/dev/null)"
7 if [ $(echo "$_FB" | wc -l) -eq 1 ] && \
8 echo "$_FB" | grep -q "ATY Mach64"; then
9 debconf-set debian-installer/framebuffer true
10 fi
11 fi
12 fi