aboutsummarylogtreecommitdiffstats
path: root/systemd-vgaswitcheroo-units.install
blob: 29b81b37e606df8d72ec77019b56accb799e05b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
post_install() {
    echo -e '\E[1;34m'
    echo "<==== INFORMATION ====>"
    echo " "
    echo "* systemd-vgaswitcheroo-units is now installed."
    echo " "
    echo "* Activate it by issuing the following command as root:"
    echo "*   # systemctl enable vgaswitcheroo"
    echo " "
    echo "* In order to function properly, debugfs needs to be in your '/etc/fstab' and"
    echo "* the module 'radeon' should be blacklisted in '/etc/modprobe.conf'."
    echo "* If your PC hangs on shutdown/reboot, try disabling 'vgaswitcheroo_stop.sh' by"
    echo "* erasing the ExecStop-line in '/usr/lib/systemd/system/vgaswitcheroo.service'"
    echo " "
    echo "* NOTE: This will only work if you are running the open source nouveau or radeon drivers"
tput sgr0 
}