From 52177410361bef03cb2902eb069fc8e446a8712f Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Fri, 3 Oct 2025 21:37:29 +0800 Subject: upd better comment --- sh/upd | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sh/upd b/sh/upd index 44f750f..fe3d28d 100755 --- a/sh/upd +++ b/sh/upd @@ -60,7 +60,9 @@ backup () { ( umask 077 - # need to pull VPS cfgs repos (ca, ib, ba, etc.) to /root/programs for insp to rsync to external HDD to satisfy 321 backup rule + # need to pull VPS cfgs repos (ca, ib, ba, etc.) to /root/programs + # for insp to duplicity backup to ca and ib to satisfy 321 backup + # rule for dir in $(sudo find /root/programs -maxdepth 1 -mindepth 1 -type d -name 'config_local_arch_secrets*'); do sudo -E git -C "$dir" pull done @@ -141,7 +143,9 @@ clean () { fast () { # After linux upgrade, if not reboot, plug in external HDD will not be # detected. backup() needs to plugin external HDD, so backup() needs to run - # before pac() + # before pac(). Now, I do not use an external HDD for frequent bakcup any + # more, but I still would like to put it in this order to consider in the + # future I maybe use one again. if [ "$hostname" = xyzinsp ] || [ "$hostname" = xyzpp ]; then backup fi -- cgit v1.2.3-70-g09d2