diff --git a/programs/NVIDIA-FCKR/NVIDIA-FCKR b/programs/NVIDIA-FCKR/NVIDIA-FCKR index 6318a56..99953b8 100755 --- a/programs/NVIDIA-FCKR/NVIDIA-FCKR +++ b/programs/NVIDIA-FCKR/NVIDIA-FCKR @@ -28,14 +28,10 @@ ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x03[0-9] # disable GPU via acpi_call on next boot echo -e '#!/usr/bin/env bash\necho '"'\_SB.PCI0.GPP0.PG00._OFF'"' > /proc/acpi/call' > /etc/local.d/NVIDIA-FCKR.start chmod +x /etc/local.d/NVIDIA-FCKR.start - - /usr/bin/reboot - + echo 'Following the next reboot, only the integrated GPU will be used.' elif [ "$1" == 'hybrid' ]; then rm -rf /etc/modprobe.d/NVIDIA-FCKR.conf /lib/udev/rules.d/50-NVIDIA-FCKR.rules /etc/local.d/NVIDIA-FCKR.start - - /usr/bin/reboot - + echo 'Following the next reboot, both GPUs will be enabled.' else echo -e "invalid argument: $1\nusage: NVIDIA-FCKR [integrated/hybrid]" fi