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:
parent
0fb677726a
commit
d4eecb0f00
1 changed files with 5 additions and 2 deletions
|
@ -165,9 +165,9 @@ systemctl enable shorewall6
|
|||
|
||||
# Add OpenMPTCProuter VPS script version to /etc/motd
|
||||
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
|
||||
echo '< OpenMPCTProuter VPS 0.17 >' >> /etc/motd
|
||||
echo '< OpenMPCTProuter VPS 0.18 >' >> /etc/motd
|
||||
fi
|
||||
|
||||
# Display important info
|
||||
|
@ -184,4 +184,7 @@ echo 'Your glorytun key: '
|
|||
echo $GLORYTUN_PASS
|
||||
echo '================================================================================'
|
||||
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 '================================================================================'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue