mirror of
https://github.com/Ysurac/openmptcprouter-vps.git
synced 2025-03-09 15:50:00 +00:00
Fix
This commit is contained in:
parent
3da17e9106
commit
eef5d97edd
2 changed files with 5 additions and 5 deletions
|
@ -247,9 +247,9 @@ fi
|
||||||
|
|
||||||
# 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.38 >:' /etc/motd
|
sed -i 's:< OpenMPTCProuter VPS [0-9]*\.[0-9]* >:< OpenMPCTProuter VPS 0.39 >:' /etc/motd
|
||||||
else
|
else
|
||||||
echo '< OpenMPTCProuter VPS 0.38 >' >> /etc/motd
|
echo '< OpenMPTCProuter VPS 0.39 >' >> /etc/motd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$update" = "0" ]; then
|
if [ "$update" = "0" ]; then
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=OMR-6in4
|
Description=OMR
|
||||||
After=network.target network-online.target glorytun-tcp@.service
|
After=network.target network-online.target glorytun-tcp@.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
Restart=always
|
Restart=always
|
||||||
ExecStart=/usr/local/bin/omr-6in4-service
|
ExecStart=/usr/local/bin/omr-service
|
||||||
ExecStop=/usr/local/bin/omr-6in4-service stop
|
ExecStop=/usr/local/bin/omr-service stop
|
||||||
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_RAW
|
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_RAW
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue