show memory and uptime before performing actual upgrade.

pull/425/head
Paul Philippov 2022-08-31 16:08:24 -04:00
parent 1b0fdc4e3a
commit aaff27bf23
1 changed files with 8 additions and 2 deletions

View File

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