Stick with default login for mesh clients

This commit is contained in:
Bob Mottram 2016-06-23 23:12:32 +01:00
parent 56ebd42876
commit 0645f82d30
1 changed files with 5 additions and 0 deletions

View File

@ -254,6 +254,11 @@ create_generic_image() {
touch $rootdir/root/.initial_mesh_setup
fi
# Stick with the existing login for mesh clients
if [[ $VARIANT == "meshclient" || $VARIANT == "meshusb" ]]; then
return
fi
# The presence of this file indicates that the initial
# setup has not yet been completed
touch $rootdir/home/$MY_USERNAME/.initial_setup