Stick with default login for mesh clients
This commit is contained in:
parent
56ebd42876
commit
0645f82d30
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue