#!/bin/sh # stdin: default config # stdout: modified config set -e # note: MODULES is also modified by de-p1st-mkinitcpio # add to start of MODULES array sed 's|^MODULES=(|MODULES=(amdgpu |'