mirror of
https://github.com/FunKey-Project/FunKey-OS.git
synced 2025-12-12 23:58:50 +01:00
remove unneeded ro/rw for bat_percent_rescale file
Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
parent
47ebd4aaba
commit
a41bdcc99a
@ -52,9 +52,7 @@ while true; do
|
||||
#echo "bat_percent_rescaled_maxed = ${bat_percent_rescaled_maxed}"
|
||||
|
||||
# Save in file
|
||||
rw
|
||||
echo ${bat_percent_rescaled_maxed} > ${BAT_PERCENT_RESCALED_FILE}
|
||||
ro
|
||||
|
||||
# Low bat status detection
|
||||
if [ "$(cat ${USB_PRESENT_FILE})" -eq "0" ]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user