projects
/
webi-installers
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
feature: add test (install almost every package)
[webi-installers/.git]
/
ssh-utils
/
ssh-setpass.sh
diff --git
a/ssh-utils/ssh-setpass.sh
b/ssh-utils/ssh-setpass.sh
index 014b68a4c13ffcecd41197d18cd4df117e49c7e2..a68cf5765b5a8669d1e8769e8c99d0bf80171651 100644
(file)
--- a/
ssh-utils/ssh-setpass.sh
+++ b/
ssh-utils/ssh-setpass.sh
@@
-1,6
+1,10
@@
#!/bin/bash
-set -e
-set -u
+function __init_ssh_setpass() {
+ set -e
+ set -u
-ssh-keygen -p -f "$HOME/.ssh/id_rsa"
+ ssh-keygen -p -f "$HOME/.ssh/id_rsa"
+}
+
+__init_ssh_setpass