~mil/sxmo-devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2 2

[PATCH sxmo-utils] Prevent starting multiple modemmonitor on logout/login

Details
Message ID
<20210408115734.10382-1-contact@stacyharper.net>
DKIM signature
pass
Download raw message
Patch: +2 -2
Signed-off-by: Stacy Harper <contact@stacyharper.net>
---
 scripts/modem/sxmo_modemmonitortoggle.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/modem/sxmo_modemmonitortoggle.sh b/scripts/modem/sxmo_modemmonitortoggle.sh
index 7c76055..7dc49ee 100755
--- a/scripts/modem/sxmo_modemmonitortoggle.sh
+++ b/scripts/modem/sxmo_modemmonitortoggle.sh
@@ -9,8 +9,8 @@
. "$(dirname "$0")/sxmo_common.sh"

if [ "$1" != "on" ] && pgrep -f sxmo_modemmonitor.sh; then
	pgrep -f sxmo_modemmonitor.sh | grep -Ev "^${$}$" | xargs -IP kill -TERM P
elif [ "$1" != "off" ]; then
	pkill -TERM -f sxmo_modemmonitor.sh
elif [ "$1" != "off" ] && ! pgrep -f sxmo_modemmonitor.sh; then
	setsid -f sxmo_modemmonitor.sh &
fi

-- 
2.31.1

[sxmo-utils/patches/.build.yml] build success

builds.sr.ht
Details
Message ID
<CAIBOT1IL8W7.2DKNLR7Q103P9@cirno>
In-Reply-To
<20210408115734.10382-1-contact@stacyharper.net> (view parent)
DKIM signature
missing
Download raw message
sxmo-utils/patches/.build.yml: SUCCESS in 21s

[Prevent starting multiple modemmonitor on logout/login][0] from [Stacy Harper][1]

[0]: https://lists.sr.ht/~mil/sxmo-devel/patches/21894
[1]: mailto:contact@stacyharper.net

✓ #480602 SUCCESS sxmo-utils/patches/.build.yml https://builds.sr.ht/~mil/job/480602
Details
Message ID
<20210409211726.fc5rlquxy43bkowk@worker.anaproy.lxd>
In-Reply-To
<20210408115734.10382-1-contact@stacyharper.net> (view parent)
DKIM signature
missing
Download raw message
Thanks! Applied.

--

Maarten van Gompel (proycon)
https://proycon.anaproy.nl
Reply to thread Export thread (mbox)