From 34834d3a5a9e51b0bad529eab54d9de193dd8187 Mon Sep 17 00:00:00 2001 From: c0dev0id Date: Fri, 26 May 2023 07:05:15 +0200 Subject: [PATCH] Update 2023-05-26 07:05 OpenBSD/amd64-x13 --- .bin/chargefull | 2 ++ .mutt/scripts/portpatch2.sh | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100755 .bin/chargefull diff --git a/.bin/chargefull b/.bin/chargefull new file mode 100755 index 0000000..d74d483 --- /dev/null +++ b/.bin/chargefull @@ -0,0 +1,2 @@ +#!/bin/sh +doas sysctl hw.battery.chargestart=1 hw.battery.chargestop=100 diff --git a/.mutt/scripts/portpatch2.sh b/.mutt/scripts/portpatch2.sh index ab99f47..3b70193 100755 --- a/.mutt/scripts/portpatch2.sh +++ b/.mutt/scripts/portpatch2.sh @@ -27,7 +27,5 @@ printf "Strip? [0]: " read -r _strip echo "CMD: ${_catcmd} "${1}" | doas -u sdk patch -E -pp${_strip:=0} -d ${_path}" -sleep 1 - ${_catcmd} "${1}" | doas -u sdk patch -E -N -p${_strip:=0} -d ${_path} -cd ${_path} && doas su +cd ${_path}