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}