summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup-xorg-base.in22
1 files changed, 1 insertions, 21 deletions
diff --git a/setup-xorg-base.in b/setup-xorg-base.in
index 2e01c91..e557327 100644
--- a/setup-xorg-base.in
+++ b/setup-xorg-base.in
@@ -1,25 +1,5 @@
#!/bin/sh
-# simple script to setup x basic org server
-# you will still need a window manager and login manager or xinit
-
-base_pkgs="xorg-server xf86-input-libinput eudev"
-
-apk add pciutils eudev
-vgaline=$(lspci | grep -w VGA)
-
-case "$vgaline" in
-*Intel*) videodrv="xf86-video-intel";;
-*AMD*) videodrv="xf86-video-amdgpu";;
-*NVIDIA*) videodrv="xf86-video-nouveau";;
-*VMware*) videodrv="xf86-video-vmware";;
-*QXL*) videodrv="xf86-video-qxl";;
-esac
-
-# fallback driver
-videodrv="$videodrv xf86-video-modesetting"
-
-# install packages
-apk add $base_pkgs $videodrv $@
+apk add xorg-server xf86-input-libinput eudev "$@"
setup-udev