Skip to content

Instantly share code, notes, and snippets.

@yellowgh0st
Created June 21, 2018 09:32
Show Gist options
  • Save yellowgh0st/433c8729fcab32ed592e441efb7067fc to your computer and use it in GitHub Desktop.
Save yellowgh0st/433c8729fcab32ed592e441efb7067fc to your computer and use it in GitHub Desktop.
#!/bin/sh
cat <<EOF
insmod setpci
setpci -s "00:17.0" 3e.b=8
setpci -s "02:00.0" 04.b=7
if [ -f \${config_directory}/custom.cfg ]; then
source \${config_directory}/custom.cfg
elif [ -z "\${config_directory}" -a -f \$prefix/custom.cfg ]; then
source \$prefix/custom.cfg;
fi
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment