diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-suspend-common-#DRIVER_VERSION_MAJOR#.postinst b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-suspend-common-#DRIVER_VERSION_MAJOR#.postinst new file mode 100644 index 0000000..527a1b1 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-suspend-common-#DRIVER_VERSION_MAJOR#.postinst @@ -0,0 +1,5 @@ +#!/bin/sh + +systemctl enable nvidia-hibernate || true +systemctl enable nvidia-resume || true +systemctl enable nvidia-suspend || true diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-suspend-common-#DRIVER_VERSION_MAJOR#.prerm b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-suspend-common-#DRIVER_VERSION_MAJOR#.prerm new file mode 100644 index 0000000..7a7406c --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-suspend-common-#DRIVER_VERSION_MAJOR#.prerm @@ -0,0 +1,5 @@ +#!/bin/sh + +systemctl disable nvidia-hibernate || true +systemctl disable nvidia-resume || true +systemctl disable nvidia-suspend || true