summaryrefslogtreecommitdiff
path: root/sh/upd
diff options
context:
space:
mode:
Diffstat (limited to 'sh/upd')
-rwxr-xr-xsh/upd3
1 files changed, 2 insertions, 1 deletions
diff --git a/sh/upd b/sh/upd
index 5cfe8f3..90b55a3 100755
--- a/sh/upd
+++ b/sh/upd
@@ -6,6 +6,8 @@ die () {
}
all () {
+ # pp maybe finish upd -a first and start to suspend, and it cause insp music() failed to rsync to pp, so I need to finish rsync to ssh before pp finish upd, so I put music() here, not perfect but good enough
+ [ "$hostname" = xyzinsp ] && music
# monthly_misc() needs to use qbittorrent-nox APIs, so I need to restart qbt before that, so I put qb() at top here, not perfect but good enough
if [ "$hostname" = xyzia ]; then
qb
@@ -21,7 +23,6 @@ all () {
if [ "$hostname" = xyzinsp ] || [ "$hostname" = xyzpp ]; then
userjs
fi
- [ "$hostname" = xyzinsp ] && music
}
backup () {