Δημοσιεύτηκε: 07 Ιούλ 2012, 17:57
από sotos21
Σε εμένα δεν δούλεψε, μετά από επανεκκίνηση μου επιστρέφει high
To δικό μου rc.local είναι λίγο φορτωμένο και είναι αυτό
Κώδικας: Επιλογή όλων
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
chmod -R 705 /sys/kernel/debug
chown -R sotiris:sotiris /sys/kernel/debug/vgaswitcheroo
echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
echo low > /sys/class/drm/card0/device/power_profile

exit 0