]> git.hoellein.online Git - zenbook/commitdiff
committing changes in /etc after apt run
authorroot <root@localhost>
Fri, 31 Aug 2018 11:10:08 +0000 (13:10 +0200)
committerroot <root@localhost>
Fri, 31 Aug 2018 11:10:08 +0000 (13:10 +0200)
Package changes:
-nvidia-prime 0.8.8 all

.etckeeper
init/nvidia-prime.conf [deleted file]
systemd/system/display-manager.service.wants/nvidia-prime-boot.service [deleted symlink]
systemd/system/nvidia-prime-boot.service [deleted symlink]

index 513f05a5e0aa84311e15701313b83867863f965d..73be8ba628c726050ce5d8385b8c54ef61109b14 100755 (executable)
@@ -1704,7 +1704,6 @@ maybe chmod 0644 'init/mountnfs-bootclean.sh.conf'
 maybe chmod 0644 'init/mountnfs.sh.conf'
 maybe chmod 0644 'init/mtab.sh.conf'
 maybe chmod 0644 'init/network-manager.conf'
-maybe chmod 0644 'init/nvidia-prime.conf'
 maybe chmod 0644 'init/oem-config.conf'
 maybe chmod 0644 'init/procps-instance.conf'
 maybe chmod 0644 'init/procps.conf'
diff --git a/init/nvidia-prime.conf b/init/nvidia-prime.conf
deleted file mode 100644 (file)
index 18cc643..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# Copyright 2013 Canonical Ltd.
-#
-# Author: Alberto Milone <alberto.milone@canonical.com>
-#
-# NVIDIA PRIME - Power Saving Mode
-#
-# On system shutdown we remove bbswitch and re-enable
-# the NVIDIA card.
-#
-
-description    "NVIDIA PRIME Power Saving Mode"
-author         "Alberto Milone <alberto.milone@canonical.com>"
-
-start on starting lightdm
-stop on runlevel [016]
-
-emits nvidia-off
-emits bbswitch-ready
-
-script
-    LOG=/var/log/nvidia-prime-upstart.log
-    prime_supported=/usr/bin/prime-supported
-
-    # Remove any previous logs
-    rm -f $LOG
-
-    # Check hardware support here
-    supported="`$prime_supported`"
-    if [ -z "$supported" ]; then
-        echo "Sorry but your hardware configuration is not supported" \
-             >> $LOG 2>&1
-        # We're probably dealing with a system with a single
-        # NVIDIA card here, so we make sure to start nvidia-persistence
-        # with some delay
-        /usr/bin/start-nvidia-persistenced
-        exit 0
-    fi
-end script
-
-pre-stop script
-    if lsmod | grep bbswitch > /dev/null; then
-        /sbin/rmmod bbswitch
-    fi
-end script
diff --git a/systemd/system/display-manager.service.wants/nvidia-prime-boot.service b/systemd/system/display-manager.service.wants/nvidia-prime-boot.service
deleted file mode 120000 (symlink)
index a505664..0000000
+++ /dev/null
@@ -1 +0,0 @@
-/lib/systemd/system/nvidia-prime-boot.service
\ No newline at end of file
diff --git a/systemd/system/nvidia-prime-boot.service b/systemd/system/nvidia-prime-boot.service
deleted file mode 120000 (symlink)
index dc1dc0c..0000000
+++ /dev/null
@@ -1 +0,0 @@
-/dev/null
\ No newline at end of file