Browse Source

Add customized riot web login image

jessie
Bob Mottram 4 years ago
parent
commit
d41789c4df
2 changed files with 10 additions and 0 deletions
  1. BIN
      img/logo_riot.png
  2. + 10
    - 0
      src/freedombone-app-riot

BIN
img/logo_riot.png

Before After
Width: 390  |  Height: 390  |  Size: 36 KiB

+ 10
- 0
src/freedombone-app-riot

@ -141,6 +141,16 @@ function riot_download {
exit 542826
fi
cp -r $INSTALL_DIR/${RIOT_FILENAME}/* /var/www/$RIOT_DOMAIN_NAME/htdocs
# customize the login image
if [ -f ~/freedombone/img/logo_riot.png ]; then
cp ~/freedombone/img/logo_riot.png /var/www/$RIOT_DOMAIN_NAME/htdocs/img/logo.png
else
if [ -f /home/$MY_USERNAME/freedombone/img/logo_riot.png ]; then
cp /home/$MY_USERNAME/freedombone/img/logo_riot.png /var/www/$RIOT_DOMAIN_NAME/htdocs/img/logo.png
fi
fi
chown -R www-data:www-data /var/www/$RIOT_DOMAIN_NAME/htdocs
}

Loading…
Cancel
Save