1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Launch omr-bypass only if not launching

This commit is contained in:
Ycarus (Yannick Chabanois) 2022-08-19 21:55:15 +02:00
parent d5bdf2f3c5
commit e162e00638
3 changed files with 4 additions and 4 deletions

View file

@ -1,2 +1,2 @@
#!/bin/sh
/etc/init.d/omr-bypass reload_rules
[ -z "$(pgrep -f omr-bypass)" ] && /etc/init.d/omr-bypass reload_rules