#!/bin/sh # $XConsortium: configvga2.sh,v 1.1 94/03/28 21:41:14 dpw Exp $ # $XFree86: xc/programs/Xserver/hw/xfree86/vga2/confvga2.sh,v 3.0 1995/03/11 14:49:06 dawes Exp $ # # This script generates vga2Conf.c # # usage: configvga.sh driver1 driver2 ... # VGACONF=./vga2Conf.c cat > $VGACONF <> $VGACONF shift done echo " $1;" >> $VGACONF cat >> $VGACONF <> $VGACONF done echo " NULL" >> $VGACONF echo "};" >> $VGACONF