projects
/
fai-configs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added keygen
[fai-configs.git]
/
scripts
/
IKIWIKI
/
10-ikiwiki.sh
diff --git
a/scripts/IKIWIKI/10-ikiwiki.sh
b/scripts/IKIWIKI/10-ikiwiki.sh
old mode 100644
(file)
new mode 100755
(executable)
index
2ddfea1
..
1977309
--- a/
scripts/IKIWIKI/10-ikiwiki.sh
+++ b/
scripts/IKIWIKI/10-ikiwiki.sh
@@
-4,4
+4,6
@@
if ! $ROOTCMD getent passwd ikiwki ; then
$ROOTCMD adduser --system --ingroup www-data --disabled-password --gecos "ikiwiki user" ikiwiki
+if ! $ROOTCMD test -e /home/ikiwiki/.ssh/id_rsa; then
+ $ROOTCMD echo | $ROOTCMD ssh-keygen -N ''
fi