#!/bin/sh # change which xorg.conf to use: driver is either freedreno or fbturbo USERXCONF=/usr/local/etc/X11/xorg.conf if [ -f "/etc/X11/xorg.$1.conf" ]; then rm "$USERXCONF" ln -s "/etc/X11/xorg.$1.conf" "$USERXCONF" else echo "no such xorg.conf!" fi