xwiggen Posted May 17, 2020 Share 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 Link to comment Share on other sites More sharing options...
Werner Posted May 17, 2020 Share Posted May 17, 2020 ? https://github.com/armbian/build/blob/99a34c7be1e342247a981f99c7930ee73c144f3e/packages/bsp/common/usr/lib/armbian/armbian-hardware-optimization#L54 Link to comment Share on other sites More sharing options...
xwiggen Posted May 17, 2020 Author Share Posted May 17, 2020 sorry little cryptic; sed: no input files appears in log because it previously did its work Link to comment Share on other sites More sharing options...
xwiggen Posted May 17, 2020 Author Share Posted May 17, 2020 made a PR Link to comment Share on other sites More sharing options...
Recommended Posts