summarylogtreecommitdiffstats
path: root/nvman.install
blob: 35d6564f2577209ff81c797c18f4d36cd76319d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
post_install() {
    echo "Setting default service to 'optimus' (if possible)"
    nvman default optimus || true 

    echo -n "IMPORTANT! Run 'nvman default bumblebee' or 'nvman default optimus' to set "
    echo "one default service! (extremely needed)"

    echo "Enabling nvman.service (if possible)"
    systemctl enable nvman.service

    echo -n "IMPORTANT! Enable 'nvman.service' with 'systemctl enable nvman.service' "
    echo "(if it wasn't enabled yet)"
}