Update 2023-05-26 07:05 OpenBSD/amd64-x13
This commit is contained in:
2
.bin/chargefull
Executable file
2
.bin/chargefull
Executable file
@@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
doas sysctl hw.battery.chargestart=1 hw.battery.chargestop=100
|
||||||
@@ -27,7 +27,5 @@ printf "Strip? [0]: "
|
|||||||
read -r _strip
|
read -r _strip
|
||||||
|
|
||||||
echo "CMD: ${_catcmd} "${1}" | doas -u sdk patch -E -pp${_strip:=0} -d ${_path}"
|
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}
|
${_catcmd} "${1}" | doas -u sdk patch -E -N -p${_strip:=0} -d ${_path}
|
||||||
cd ${_path} && doas su
|
cd ${_path}
|
||||||
|
|||||||
Reference in New Issue
Block a user