show memory and uptime before performing actual upgrade. (#425)

pull/428/head
Paul Philippov 2022-08-31 19:09:26 -04:00 committed by GitHub
parent 1b0fdc4e3a
commit 82efe744de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 2 deletions

View File

@ -1,9 +1,9 @@
#!/bin/sh
#
# OpenIPC.org | v.20220827
# OpenIPC.org | v.20220831
#
scr_version=1.0.8
scr_version=1.0.9
args=" $@"
@ -106,6 +106,12 @@ free_resources() {
done
sync
echo 3 >/proc/sys/vm/drop_caches
echo_c 34 "\nUptime:"
uptime
echo_c 34 "\nMemory"
free
}
sync_time() {