From 76f700328915e1afff640ab07c8239acb8b13176 Mon Sep 17 00:00:00 2001 From: Ward from fusion-voyager-3 Date: Thu, 25 Jul 2024 01:41:19 +0300 Subject: [PATCH] add postinst for suspend --- nvidia-graphics-drivers-560/debian/changelog | 2 +- .../debian/nvidia-suspend-common-560.postinst | 5 +++++ .../debian/nvidia-suspend-common-560.prerm | 5 +++++ 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 nvidia-graphics-drivers-560/debian/nvidia-suspend-common-560.postinst create mode 100644 nvidia-graphics-drivers-560/debian/nvidia-suspend-common-560.prerm diff --git a/nvidia-graphics-drivers-560/debian/changelog b/nvidia-graphics-drivers-560/debian/changelog index efb7db9..b15e5a6 100644 --- a/nvidia-graphics-drivers-560/debian/changelog +++ b/nvidia-graphics-drivers-560/debian/changelog @@ -1,4 +1,4 @@ -nvidia-graphics-drivers-560 (560.28.03-101pika2) pika; urgency=medium +nvidia-graphics-drivers-560 (560.28.03-101pika3) pika; urgency=medium * New upstream diff --git a/nvidia-graphics-drivers-560/debian/nvidia-suspend-common-560.postinst b/nvidia-graphics-drivers-560/debian/nvidia-suspend-common-560.postinst new file mode 100644 index 0000000..527a1b1 --- /dev/null +++ b/nvidia-graphics-drivers-560/debian/nvidia-suspend-common-560.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-560/debian/nvidia-suspend-common-560.prerm b/nvidia-graphics-drivers-560/debian/nvidia-suspend-common-560.prerm new file mode 100644 index 0000000..7a7406c --- /dev/null +++ b/nvidia-graphics-drivers-560/debian/nvidia-suspend-common-560.prerm @@ -0,0 +1,5 @@ +#!/bin/sh + +systemctl disable nvidia-hibernate || true +systemctl disable nvidia-resume || true +systemctl disable nvidia-suspend || true