Guest User

Untitled

a guest
Jan 22nd, 2018
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. if busybox [ "`sysctl -n vm.dirty_ratio`" != "90" -a "`sysctl -n vm.dirty_background_ratio`" != "70" -a "`sysctl -n vm.vfs_cache_pressure`" != "5" -a "`sysctl -n vm.oom_kill_allocating_task`" != "1" -a "`sysctl -n vm.min_free_kbytes`" != "4096" -a "`sysctl -n vm.panic_on_oom`" != "0" -a "`sysctl -n vm.overcommit_memory`" != "1" -a "`sysctl -n vm.min_free_order_shift`" != "4" "`sysctl -n vm.dirty_writeback_centisecs`" != "2000" -a "`sysctl -n vm.dirty_expire_centisecs`" != "1000" ]; then
  2. echo "No good, something went wrong with sysctl, run restore script(#7 on Main Menu) and try again."
Add Comment
Please, Sign In to add comment