1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-vps.git synced 2025-02-12 11:21:56 +00:00
This commit is contained in:
Ycarus (Yannick Chabanois) 2018-07-28 19:43:25 +00:00
parent 3da17e9106
commit eef5d97edd
2 changed files with 5 additions and 5 deletions

View file

@ -247,9 +247,9 @@ fi
# 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.38 >:' /etc/motd
sed -i 's:< OpenMPTCProuter VPS [0-9]*\.[0-9]* >:< OpenMPCTProuter VPS 0.39 >:' /etc/motd
else
echo '< OpenMPTCProuter VPS 0.38 >' >> /etc/motd
echo '< OpenMPTCProuter VPS 0.39 >' >> /etc/motd
fi
if [ "$update" = "0" ]; then

View file

@ -1,12 +1,12 @@
[Unit]
Description=OMR-6in4
Description=OMR
After=network.target network-online.target glorytun-tcp@.service
[Service]
Type=simple
Restart=always
ExecStart=/usr/local/bin/omr-6in4-service
ExecStop=/usr/local/bin/omr-6in4-service stop
ExecStart=/usr/local/bin/omr-service
ExecStop=/usr/local/bin/omr-service stop
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_RAW
[Install]