home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
w530 ansible: Ensure python3 is installed so i3status wrapper works.
[config]
/
jessie_postinstall.sh
diff --git
a/jessie_postinstall.sh
b/jessie_postinstall.sh
index 0a9abc241350b891dd5dc3cccb4d2f08950c209e..0b628e520d87425aea8106a8e060efea46042dc4 100755
(executable)
--- a/
jessie_postinstall.sh
+++ b/
jessie_postinstall.sh
@@
-118,6
+118,10
@@
if [ "$1" = "thinkpad" ]; then
'#START_CHARGE_THRESH_BAT0/' /etc/default/tlp
sed -i 's/^#STOP_CHARGE_THRESH_BAT0/STOP_CHARGE_THRESH_BAT0=95 '\
'#STOP_CHARGE_THRESH_BAT0/' /etc/default/tlp
'#START_CHARGE_THRESH_BAT0/' /etc/default/tlp
sed -i 's/^#STOP_CHARGE_THRESH_BAT0/STOP_CHARGE_THRESH_BAT0=95 '\
'#STOP_CHARGE_THRESH_BAT0/' /etc/default/tlp
+ sed -i 's/^#START_CHARGE_THRESH_BAT1/START_CHARGE_THRESH_BAT0=10 '\
+'#START_CHARGE_THRESH_BAT1/' /etc/default/tlp
+ sed -i 's/^#STOP_CHARGE_THRESH_BAT1/STOP_CHARGE_THRESH_BAT0=95 '\
+'#STOP_CHARGE_THRESH_BAT1/' /etc/default/tlp
sed -i 's/^#DEVICES_TO_DISABLE_ON_STARTUP/DEVICES_TO_DISABLE_ON_STARTUP='\
'"bluetooth wifi wwan" #DEVICES_TO_DISABLE_ON_STARTUP/' /etc/default/tlp
tlp start
sed -i 's/^#DEVICES_TO_DISABLE_ON_STARTUP/DEVICES_TO_DISABLE_ON_STARTUP='\
'"bluetooth wifi wwan" #DEVICES_TO_DISABLE_ON_STARTUP/' /etc/default/tlp
tlp start
@@
-315,7
+319,7
@@
elif [ "$1" = "thinkpad" ]; then
apt-get -y install x11-xserver-utils
# Set up pentadactyl.
apt-get -y install x11-xserver-utils
# Set up pentadactyl.
- apt-get -y install iceweasel
+ apt-get -y install iceweasel
xul-ext-noscript
apt-get -y -t jessie-backports install xul-ext-pentadactyl
apt-get -y install vim-gtk
su plom -c 'mkdir -p /home/plom/downloads/'
apt-get -y -t jessie-backports install xul-ext-pentadactyl
apt-get -y install vim-gtk
su plom -c 'mkdir -p /home/plom/downloads/'