File: 50-framebuffer-enable.sh

package info (click to toggle)
acpi-support 0.143-5.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 828 kB
  • sloc: sh: 816; ansic: 131; makefile: 38
file content (9 lines) | stat: -rw-r--r-- 152 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
#!/bin/sh

# And turn the framebuffer back on
for x in /sys/class/graphics/*; do
    if [ -f $x/state ]; then
        echo -n 0 >$x/state;
    fi
done