X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=blobdiff_plain;f=dsremote;h=13a5176b05311abfb841dc303c4597bc13919bc9;hp=ec8b2d269e6669bec6f21542ff4e9e30e4f7812c;hb=HEAD;hpb=d67edcdca8795a4bca116aa532d02dda246a6f53 diff --git a/dsremote b/dsremote index ec8b2d2..31d85e1 100755 --- 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"