diff --git a/img/logo_riot.png b/img/logo_riot.png new file mode 100644 index 00000000..c39de76e Binary files /dev/null and b/img/logo_riot.png differ diff --git a/src/freedombone-app-riot b/src/freedombone-app-riot index a589693d..15c26c23 100755 --- a/src/freedombone-app-riot +++ b/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 }