host info updates
[distro-setup] / dsremote
index ec8b2d269e6669bec6f21542ff4e9e30e4f7812c..31d85e1f39f61d6b0c85e515d36519dace3cd8c8 100755 (executable)
--- a/dsremote
+++ b/dsremote
@@ -1,5 +1,12 @@
 #!/bin/bash
-# Copyright (C) 2016 Ian Kelling
+# I, Ian Kelling, follow the GNU license recommendations at
+# https://www.gnu.org/licenses/license-recommendations.en.html. They
+# recommend that small programs, < 300 lines, be licensed under the
+# Apache License 2.0. This file contains or is part of one or more small
+# programs. If a small program grows beyond 300 lines, I plan to switch
+# its license to GPL.
+
+# Copyright 2024 Ian Kelling
 
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -13,6 +20,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+
 # shellcheck source=/a/bin/ds/.bashrc
 if [[ -s ~/.bashrc ]];then . ~/.bashrc;fi
 
@@ -27,5 +35,4 @@ if [[ ! $host || $host == -h ]]; then
 fi
 
 bbk -t $host
-ssh $host /a/bin/distro-setup/distro-begin
-ssh $host /a/bin/distro-setup/distro-end
+ssh -t $host "/a/bin/distro-setup/distro-begin && /a/bin/distro-setup/distro-end"