X-Git-Url: https://plomlompom.com/repos//%22https:/validator.w3.org/check?a=blobdiff_plain;f=jessie_postinstall.sh;h=6d12cef1815eb6bf1ab4d1055b2abfc2a904d04a;hb=9597b74309551d3ee2c658a45a427904dae22c98;hp=a536eee24d8c215ff1c4b626eb402a0de8abd862;hpb=d21b4dc9cb8bee7d96187d7d594016ae2003f1e7;p=config diff --git a/jessie_postinstall.sh b/jessie_postinstall.sh index a536eee..6d12cef 100755 --- a/jessie_postinstall.sh +++ b/jessie_postinstall.sh @@ -28,7 +28,7 @@ elif [ "$3" = "test.plomlompom.com" ]; then elif [ "$2" = "public" ]; then hostname="htwtxt.plomlompom" elif [ "$2" = "X200s" ]; then - hostname="X220s" + hostname="X200s" elif [ "$2" = "T450s" ]; then hostname="T450s" fi @@ -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 + 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