mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-14 10:37:33 -07:00
Linux installer: remove old init.d files, fix for init.d startup/shutdown script.
This commit is contained in:
parent
b792ab8ff1
commit
b54f998a85
3 changed files with 28 additions and 6 deletions
|
@ -47,10 +47,8 @@ fi
|
|||
|
||||
running=0
|
||||
if [ "$pid" -gt 0 ]; then
|
||||
if [ "`readlink -nf /proc/$pid/exe`" = "$zthome/zerotier-one" ]; then
|
||||
if [ -n "`ls -l /proc/$pid/exe | grep -F zerotier-one`" ]; then
|
||||
running=1
|
||||
else
|
||||
rm -f "$zthome/zerotier-one.pid"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue