diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2015-02-09 21:57:22 +0900 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2015-02-09 21:58:06 +0900 |
commit | 1db2bb8c6b3a2c003c7a7c4cf21a3718feb05927 (patch) | |
tree | bff3ff804893f1e792653713825fb702b3237d98 /bin/usbskelhere | |
parent | 303a324bbee8cde2a0097ed3501c4422e59bb4b1 (diff) | |
download | dotfiles-1db2bb8c6b3a2c003c7a7c4cf21a3718feb05927.tar.gz |
ssh and https public keys as part of usb skeleton
Diffstat (limited to 'bin/usbskelhere')
-rwxr-xr-x | bin/usbskelhere | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/usbskelhere b/bin/usbskelhere index 44fc8643..3e2c61d9 100755 --- a/bin/usbskelhere +++ b/bin/usbskelhere @@ -1,9 +1,10 @@ -#!/bin/sh +#!/bin/bash +. $HOME/.shenv while true; do read -p "This might overwrite stuff in $(pwd). Is that okay? " yn case $yn in - [Yy]* ) mkdir -p doc; cp -RLf ~/lib/annex/big/skel/usb/* .; break;; + [Yy]* ) usbhostkeys; mkdir -p doc; cp -RLf ~/lib/annex/big/skel/usb/* .; break;; [Nn]* ) exit;; * ) echo "Please answer yes or no.";; esac |