xwiggen Posted May 17, 2020 Posted May 17, 2020 --- armbian-hardware-optimization.orig 2020-05-17 10:53:46.352578716 +0200 +++ armbian-hardware-optimization 2020-05-17 10:54:02.052970679 +0200 @@ -67,7 +67,7 @@ [[ -f $prefix/cpuinfo_cur_freq ]] && chmod +r $prefix/cpuinfo_cur_freq 2> /dev/null # enable compression where not exists - find /etc/logrotate.d/. -type f | xargs grep -H -c 'compress' | grep 0$ | cut -d':' -f1 | xargs -L1 sed -i '/{/ a compress' + find /etc/logrotate.d/. -type f | xargs grep -H -c 'compress' | grep 0$ | cut -d':' -f1 | xargs -L1 sed -i '/{/ a compress' 2> /dev/null sed -i "s/#compress/compress/" /etc/logrotate.conf # tweak ondemand cpufreq governor settings to increase cpufreq with IO load
Werner Posted May 17, 2020 Posted May 17, 2020 ? https://github.com/armbian/build/blob/99a34c7be1e342247a981f99c7930ee73c144f3e/packages/bsp/common/usr/lib/armbian/armbian-hardware-optimization#L54
xwiggen Posted May 17, 2020 Author Posted May 17, 2020 sorry little cryptic; sed: no input files appears in log because it previously did its work
Recommended Posts