1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-vps.git synced 2025-03-09 15:50:00 +00:00

Add warning to check that mptcp kernel is loaded

This commit is contained in:
Ycarus (Yannick Chabanois) 2018-05-13 07:35:56 +00:00
parent 0fb677726a
commit d4eecb0f00

View file

@ -165,9 +165,9 @@ systemctl enable shorewall6
# Add OpenMPTCProuter VPS script version to /etc/motd # Add OpenMPTCProuter VPS script version to /etc/motd
if grep --quiet 'OpenMPTCProuter VPS' /etc/motd; then if grep --quiet 'OpenMPTCProuter VPS' /etc/motd; then
sed -i 's:< OpenMPTCProuter VPS [0-9]*\.[0-9]* >:< OpenMPCTProuter VPS 0.17 >:' /etc/motd sed -i 's:< OpenMPTCProuter VPS [0-9]*\.[0-9]* >:< OpenMPCTProuter VPS 0.18 >:' /etc/motd
else else
echo '< OpenMPCTProuter VPS 0.17 >' >> /etc/motd echo '< OpenMPCTProuter VPS 0.18 >' >> /etc/motd
fi fi
# Display important info # Display important info
@ -184,4 +184,7 @@ echo 'Your glorytun key: '
echo $GLORYTUN_PASS echo $GLORYTUN_PASS
echo '================================================================================' echo '================================================================================'
echo '/!\ You need to reboot to enable MPTCP, shadowsocks, glorytun and shorewall /!\' echo '/!\ You need to reboot to enable MPTCP, shadowsocks, glorytun and shorewall /!\'
echo '--------------------------------------------------------------------------------'
echo ' After reboot, check with uname -a that the kernel name contain mptcp.'
echo ' You may have to modify GRUB_DEFAULT in /etc/defaut/grub'
echo '================================================================================' echo '================================================================================'