2 # Copyright (C) 2016 Ian Kelling
3 # This program is under GPL v. 3 or later, see <http://www.gnu.org/licenses/>
5 # distro setup full. (assuming we already synced data files to the host)
8 trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
12 if [[ ! $host ||
$host == -h ]]; then
13 echo "$0: error: expected 1 arg of hostname"
18 ssh $host sudo bash
<<'EOF'
20 systemctl stop keyscriptoff.service
25 while ! ssh $host :; do