ACC SHELL

Path : /lib/mkinitrd/scripts/
File Upload :
Current File : //lib/mkinitrd/scripts/boot-createfb.sh

#!/bin/bash
#%stage: setup
#%dontshow
#
##### framebuffer device node creator
##
## creates the framebuffer device nodes
##
## Command line parameters
## -----------------------
##
##

# Create framebuffer devices
if [ -f /proc/fb ]; then
    while read fbnum fbtype; do
        if [ $(($fbnum < 32)) ] ; then
            [ -c /dev/fb$fbnum ] || mknod -m 0660 /dev/fb$fbnum c 29 $fbnum
        fi
    done < /proc/fb
fi

ACC SHELL 2018