iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
various fixes
[distro-setup]
/
btrbk-run
diff --git
a/btrbk-run
b/btrbk-run
old mode 100755
(executable)
new mode 100644
(file)
index
6024229
..
7070f20
--- a/
btrbk-run
+++ b/
btrbk-run
@@
-24,7
+24,11
@@
trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
usage() {
cat <<'EOF'
btrbk-run [OPTIONS]
usage() {
cat <<'EOF'
btrbk-run [OPTIONS]
-usually -t TARGET_HOST
+usually -t TARGET_HOST or -s SOURCE_HOST
+
+Note, at source location, intentionally not executable, run and read
+install-my-scripts.
+
EOF
echo "top of script file:"
sed -n '1,/^[# ]*end command line/{p;b};q' "$0"
EOF
echo "top of script file:"
sed -n '1,/^[# ]*end command line/{p;b};q' "$0"
@@
-294,11
+298,11
@@
if mountpoint $rsync_mountpoint >/dev/null; then
done
fi
done
fi
-PATH=$script_dir:$PATH
+/a/bin/distro-setup/install-my-scripts
if [[ $source ]]; then
m mount-latest-subvol
else
if [[ $source ]]; then
m mount-latest-subvol
else
- m mount-latest-remote ${targets[@]}
+ m
/a/exe/
mount-latest-remote ${targets[@]}
fi
# todo: move variable data we don't care about backing up
fi
# todo: move variable data we don't care about backing up