Skip to content
Snippets Groups Projects
Commit 27d04c06 authored by FFS-Roland's avatar FFS-Roland
Browse files

restart fastd only if already runnung. Not manually running script.

parent de8353bc
Branches
Tags
No related merge requests found
...@@ -4,8 +4,10 @@ START=97 ...@@ -4,8 +4,10 @@ START=97
start () { start () {
uci set fastd.mesh_vpn.on_connect='/usr/sbin/ffs-set-segment' uci set fastd.mesh_vpn.on_connect='/usr/sbin/ffs-set-segment'
/etc/init.d/fastd restart if [ -d "/proc/$(cat /var/run/fastd.mesh_vpn.pid)" ]; then
/usr/sbin/ffs-set-segment /etc/init.d/fastd restart
fi
/etc/init.d/micrond enable /etc/init.d/micrond enable
/etc/init.d/micrond restart /etc/init.d/micrond restart
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment