#!/bin/sh # stdin: default config # stdout: modified config set -e # add amdgpu to MODULES array sed 's|^MODULES=(|MODULES=(amdgpu |'