Skip to content

Commit da628d7

Browse files
update version and adjust swap
1 parent 2ca461d commit da628d7

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

lib/makeboarddeb.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,10 @@ create_board_package()
101101
grep -q vm.swappiness /etc/sysctl.conf
102102
case \$? in
103103
0)
104-
sed -i 's/vm\.swappiness.*/vm.swappiness=100/' /etc/sysctl.conf
104+
sed -i 's/vm\.swappiness.*/vm.swappiness=15/' /etc/sysctl.conf
105105
;;
106106
*)
107-
echo vm.swappiness=100 >>/etc/sysctl.conf
107+
echo vm.swappiness=15 >>/etc/sysctl.conf
108108
;;
109109
esac
110110
sysctl -p >/dev/null 2>&1

make_armbian_for_hubv3.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ current_dir=$(pwd)
44

55
board="trhubv3"
66
destination=""
7-
r3version="v1.08.01.07"
7+
r3version="v1.08.01.08"
88

99
# 显示使用说明的函数
1010
usage() {

0 commit comments

Comments
 (0)