mirror of
https://github.com/freifunk-gluon/packages.git
synced 2024-06-18 05:03:58 +02:00
autoupdater: drop caches a second time after download
This is useful to free memory after stopping more services after the download. [Matthias Schiffer: improved commit message]
This commit is contained in:
parent
f375cb7b30
commit
6a618e61da
4
admin/autoupdater/files/usr/lib/autoupdater/upgrade.d/95drop_caches
Executable file
4
admin/autoupdater/files/usr/lib/autoupdater/upgrade.d/95drop_caches
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
sync
|
||||
sysctl -w vm.drop_caches=3
|
Loading…
Reference in New Issue
Block a user