#!/bin/sh # $XConsortium: confvga256.sh,v 1.1 94/03/28 21:43:21 dpw Exp $ # $XFree86: xc/programs/Xserver/hw/xfree86/vga256/cvga256.sh,v 3.0 1995/03/11 14:50:00 dawes Exp $ # # This script generates vga256Conf.c # # usage: confvga256.sh driver1 driver2 ... # VGACONF=./vga256Conf.c cat > $VGACONF <> $VGACONF shift done echo " $1;" >> $VGACONF cat >> $VGACONF <> $VGACONF done echo " NULL" >> $VGACONF echo "};" >> $VGACONF