projects
/
webi-installers
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
chore(style): convert blocks into functions (see #325)
[webi-installers/.git]
/
ssh-utils
/
ssh-setpass.sh
diff --git
a/ssh-utils/ssh-setpass.sh
b/ssh-utils/ssh-setpass.sh
index 4d399cd98fec5ab5573ac8b9789133bed4f7c201..a68cf5765b5a8669d1e8769e8c99d0bf80171651 100644
(file)
--- a/
ssh-utils/ssh-setpass.sh
+++ b/
ssh-utils/ssh-setpass.sh
@@
-1,8
+1,10
@@
#!/bin/bash
-{
+
function __init_ssh_setpass()
{
set -e
set -u
ssh-keygen -p -f "$HOME/.ssh/id_rsa"
}
+
+__init_ssh_setpass