Skip to content

Commit

Permalink
Update kas
Browse files Browse the repository at this point in the history
  • Loading branch information
ferreirarocha committed Aug 12, 2018
1 parent 837c878 commit 191b2b0
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions kas
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ data=$(date +%d-%m-%Y-%H-%M-%S)
-r --reset Limpar registro de conexões
-s --save-key Salva o par de chaves utilizadas pelo script na home do usuário corrente
--set-editor Configure o editor padrão
--uninstall Remover o script
--uninstall Remover o script
-U --update Atualiza o Key Access ssh (kas)
-x --export Exportar registro de conexões
-X --export-all Salva as chaves e as conexões registradas
--install Instala ou atualiza o Key Access ssh (kas)
Expand Down Expand Up @@ -121,13 +122,13 @@ EOF

}

install(){
update(){
echo "Instalando o script KAS Key Acess SSH"
wget -O /usr/bin/kas https://raw.githubusercontent.com/ferreirarocha/utilitarios/master/kas
chmod +x /usr/bin/kas
cat <<EOF
Script instalado"
Script atualizado"
Veja a lista de opçoes"
EOF
Expand Down Expand Up @@ -341,9 +342,9 @@ RETVAL=0

;;

--install)
--update|-U)

install
update

;;

Expand Down

0 comments on commit 191b2b0

Please sign in to comment.