projects
/
rrq
/
overlay-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cca716
)
Avoid starting running subhosts.
author
Ralph Ronnquist
<rrq@rrq.au>
Fri, 11 Jul 2025 08:19:55 +0000
(18:19 +1000)
committer
Ralph Ronnquist
<rrq@rrq.au>
Fri, 11 Jul 2025 08:19:55 +0000
(18:19 +1000)
subhosts.sh
patch
|
blob
|
history
diff --git
a/subhosts.sh
b/subhosts.sh
index daff12efbde27115f72efba84a0330b29e2306a7..741b988f51b1d0abf06c57a26bab80436f87df74 100755
(executable)
--- a/
subhosts.sh
+++ b/
subhosts.sh
@@
-23,6
+23,7
@@
do_status_override() {
do_start_override() {
if [ -r /etc/subhosts.conf ] ; then
for SUB in $(grep -v '#' /etc/subhosts.conf) ; do
+ pgrep -f "overlay-boot $SUB\$" > /dev/null && continue
echo "overlay-boot $SUB" >&2
overlay-boot $SUB | logger -p boot.info -s
done