From: root Date: Fri, 31 Aug 2018 11:10:08 +0000 (+0200) Subject: committing changes in /etc after apt run X-Git-Url: https://git.hoellein.online/?a=commitdiff_plain;h=6667927aa1e9ad88542832c28787d41552fccfa7;p=zenbook committing changes in /etc after apt run Package changes: -nvidia-prime 0.8.8 all --- diff --git a/.etckeeper b/.etckeeper index 513f05a..73be8ba 100755 --- a/.etckeeper +++ b/.etckeeper @@ -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 index 18cc643..0000000 --- a/init/nvidia-prime.conf +++ /dev/null @@ -1,45 +0,0 @@ -# -# Copyright 2013 Canonical Ltd. -# -# Author: Alberto Milone -# -# 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 " - -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 index a505664..0000000 --- a/systemd/system/display-manager.service.wants/nvidia-prime-boot.service +++ /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 index dc1dc0c..0000000 --- a/systemd/system/nvidia-prime-boot.service +++ /dev/null @@ -1 +0,0 @@ -/dev/null \ No newline at end of file