Browse Source

Replace username in original index.html

pull/48/head
Alexandre Aubin 6 years ago
parent
commit
3e34a7e69d
  1. 1
      scripts/install
  2. 2
      sources/www/index.html

1
scripts/install

@ -129,6 +129,7 @@ mkdir -p "$final_path/www"
if [ $with_sftp -eq 1 ]
then
ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file=../sources/www/index.html
ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file=../sources/www/index.html
# Copy files to the right place
cp "../sources/www/index.html" "$final_path/www/index.html"

2
sources/www/index.html

@ -20,7 +20,7 @@
<dt>Port</dt>
<dd>22 (or the port you defined <a href="https://yunohost.org/#/security_fr">if you change the ssh port</a>)</dd>
<dt>User</dt>
<dd>__USER__</dd>
<dd>__APP__</dd>
<dt>Password</dt>
<dd><i>the one you set at installation</i></dd>
</dl>

Loading…
Cancel
Save