mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-08-07 14:54:07 +00:00
Import patches-unapplied version 2.394 to ubuntu/xenial-proposed
Imported using git-ubuntu import. Changelog parent: 42e2a00908e80b04bd9af90a74eac6fdb7604ec8 New changelog entries: [ Xavi Garcia ] * Adding a new hook to change the configuration file for upower.
This commit is contained in:
parent
42e2a00908
commit
93f2a06b3c
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
||||
livecd-rootfs (2.394) xenial; urgency=medium
|
||||
|
||||
[ Xavi Garcia ]
|
||||
* Adding a new hook to change the configuration file for upower.
|
||||
|
||||
-- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Wed, 30 Mar 2016 16:20:20 +0200
|
||||
|
||||
livecd-rootfs (2.393) xenial; urgency=medium
|
||||
|
||||
* actually make the /etc/mtab link relative (LP: #1547033)
|
||||
|
10
live-build/ubuntu-touch/hooks/50-upower-poweroff-percentages.chroot
Executable file
10
live-build/ubuntu-touch/hooks/50-upower-poweroff-percentages.chroot
Executable file
@ -0,0 +1,10 @@
|
||||
#! /bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
echo "Updating upower configuration..."
|
||||
|
||||
sed -i 's/^UsePercentageForPolicy=.*/UsePercentageForPolicy=true/' /etc/UPower/UPower.conf
|
||||
sed -i 's/^CriticalPowerAction=.*/CriticalPowerAction=PowerOff/' /etc/UPower/UPower.conf
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user